diff options
-rw-r--r-- | .github/workflows/build-linux.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 87dc0b45..01a589d3 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -84,47 +84,47 @@ jobs: with: path: /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }} key: wxWidgets-${{ steps.cache-key.outputs.cache_key }} - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y wget tar libpcsclite-dev libfuse-dev yasm libgtk-3-dev libayatana-appindicator3-dev cmake debhelper - name: Download and extract wxWidgets to /tmp if build folders are missing if: steps.cache-wxbuildconsole.outputs.cache-hit != 'true' || steps.cache-wxbuildgui.outputs.cache-hit != 'true' || steps.cache-wxwidgets.outputs.cache-hit != 'true' run: | wget https://github.com/wxWidgets/wxWidgets/releases/download/v${{ env.WXWIDGETS_VERSION }}/wxWidgets-${{ env.WXWIDGETS_VERSION }}.tar.bz2 -O /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }}.tar.bz2 mkdir -p /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }} tar -xjf /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }}.tar.bz2 -C /tmp/wxWidgets-${{ env.WXWIDGETS_VERSION }} --strip-components=1 - name: Build VeraCrypt .deb packages run: | chmod +x src/Build/build_cmake_deb.sh src/Build/build_cmake_deb.sh WXSTATIC INDICATOR - name: Upload GUI .deb packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: veracrypt-gui-debs path: /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.* - name: Upload Console .deb packages - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: veracrypt-console-debs path: /tmp/VeraCrypt_Packaging/Console/Packaging/veracrypt-console-*.* - name: Install and test VeraCrypt GUI .deb packages run: | sudo apt install -y /tmp/VeraCrypt_Packaging/GUI/Packaging/veracrypt-*.deb veracrypt --text --test && veracrypt --text --version sudo veracrypt --text --non-interactive Tests/test.sha256.hc --hash sha256 --slot 1 --password test --mount-options=ro sudo veracrypt --text --non-interactive Tests/test.sha512.hc --hash sha512 --slot 2 --password test --mount-options=ro sudo veracrypt --text --non-interactive Tests/test.streebog.hc --hash streebog --slot 3 --password test --mount-options=ro sudo veracrypt --text --non-interactive Tests/test.whirlpool.hc --hash whirlpool --slot 4 --password test --mount-options=ro sudo veracrypt --text --list echo -n "Dummy" > /tmp/expected_content.txt if cmp -s /media/veracrypt1/Dummy.txt /tmp/expected_content.txt; then echo "Content of test.sha256.hc is valid." else echo "Content of test.sha256.hc is invalid!" exit 1 fi |