Skip to content

Commit

Permalink
Windows: Test Encryption with the latest version of gpg4win
Browse files Browse the repository at this point in the history
  • Loading branch information
hluk committed Sep 20, 2023
1 parent 156d978 commit b31661a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ environment:
LIBSSL: libssl-1_1-x64.dll
LIBCRYPTO: libcrypto-1_1-x64.dll
WITH_NATIVE_NOTIFICATIONS: "ON"
GPGPATH: /c/Program Files/Git/usr/bin

# Parameters for default build commands (build_script is used instead).
build:
Expand Down
13 changes: 12 additions & 1 deletion utils/appveyor/after_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,24 @@ rm -vf /c/Windows/System32/libssl-*
rm -vf /c/Windows/SysWOW64/libcrypto-*
rm -vf /c/Windows/SysWOW64/libssl-*
OldPath=$PATH
export PATH=$Destination
export PATH="$GPGPATH":$Destination

export QT_FORCE_STDERR_LOGGING=1
export COPYQ_TESTS_RERUN_FAILED=1
"$Executable" --help
"$Executable" --version
"$Executable" --info

mkdir ~/.gnupg
gpg --version
COPYQ_LOG_LEVEL=TRACE "$Executable" --start-server - <<EOD
if (!plugins.itemencrypted.isGpgInstalled()) {
print('ERROR: Failed to find supported version of gpg!');
}
print(logs());
exit();
EOD

"$Executable" tests

# Take screenshots of the app.
Expand Down

0 comments on commit b31661a

Please sign in to comment.