Skip to content

Commit

Permalink
Use correct env name
Browse files Browse the repository at this point in the history
  • Loading branch information
iyanmv committed Dec 12, 2024
1 parent 4e0b609 commit 7d6d11d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"'
Expand Down

0 comments on commit 7d6d11d

Please sign in to comment.