From 0934b44466c407a3c15376f52d5c5473d5cf8364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iy=C3=A1n=20M=C3=A9ndez=20Veiga?= <me@iyanmv.com> Date: Thu, 12 Dec 2024 19:53:00 +0100 Subject: [PATCH] Use correct env name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Iyán Méndez Veiga <me@iyanmv.com> --- .github/workflows/linux.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 93993b66a6..38c5f96a13 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -121,23 +121,23 @@ jobs: - name: Create random build folder run: tmp_build=$(mktemp -d) && echo "RANDOM_BUILD_DIR=$tmp_build" >> $GITHUB_ENV - name: Configure - run: cmake -GNinja ${{ matrix.CMAKE_ARGS }} -B ${{ env.RANDOM_DIR }} && cmake -LA -N + run: cmake -GNinja ${{ matrix.CMAKE_ARGS }} -B ${{ env.RANDOM_BUILD_DIR }} && cmake -LA -N - name: Build run: ninja - working-directory: ${{ env.RANDOM_DIR }} + working-directory: ${{ env.RANDOM_BUILD_DIR }} - name: Run tests timeout-minutes: 60 - run: python3 -m pytest --verbose --ignore=tests/test_code_conventions.py --numprocesses=auto ${{ matrix.PYTEST_ARGS }} ${{ env.RANDOM_DIR }}/tests + run: python3 -m pytest --verbose --ignore=tests/test_code_conventions.py --numprocesses=auto ${{ matrix.PYTEST_ARGS }} ${{ env.RANDOM_BUILD_DIR }}/tests - name: Package .deb if: matrix.name == 'jammy-std-openssl3' run: cpack - working-directory: ${{ env.RANDOM_DIR }} + working-directory: ${{ env.RANDOM_BUILD_DIR }} - name: Retain .deb file if: matrix.name == 'jammy-std-openssl3' uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # pin@v4 with: name: liboqs-openssl3-shared-x64 - path: ${{ env.RANDOM_DIR }}/*.deb + path: ${{ env.RANDOM_BUILD_DIR }}/*.deb - name: Check STD algorithm and alias if: matrix.name == 'jammy-std-openssl3' run: 'tests/dump_alg_info | grep -zoP "ML-DSA-44:\n isnull: false" && tests/dump_alg_info | grep -zoP "ML-KEM-512:\n isnull: false"'