Skip to content

Commit

Permalink
ci wip
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Mule committed Oct 11, 2024
1 parent b20b182 commit c13c0e5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
token: softokn
- test: bind
token: softhsm
name: ${{ test }} (${{ token }})
name: ${{ matrix.test }} (${{ matrix.token }})
container: fedora:rawhide
steps:
- name: Get Date for DNF cache entry
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- if: ${{ token }} == 'kryoptic'
- if: ${{ matrix.token }} == 'kryoptic'
name: Get Kryoptic
id: kryoptic_setup
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
git submodule update --init
echo "KRYOPTIC=${PWD}" >> "$GITHUB_OUTPUT"
- if: ${{ token }} == 'kryoptic'
- if: ${{ matrix.token }} == 'kryoptic'
name: OpenSSL build cache
uses: actions/cache@v4
id: cache
Expand All @@ -70,13 +70,13 @@ jobs:
kryoptic/openssl/
key: ${{ runner.os }}-ossl-${{ hashFiles('kryoptic/.git/modules/openssl/HEAD') }}

- if: ${{ token }} == 'kryoptic'
- if: ${{ matrix.token }} == 'kryoptic'
name: Generate lock file
run: |
cd kryoptic
cargo generate-lockfile
- if: ${{ token }} == 'kryoptic'
- if: ${{ matrix.token }} == 'kryoptic'
name: Cache Rust dependencies
uses: actions/cache@v4
with:
Expand All @@ -88,7 +88,7 @@ jobs:
kryoptic/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('kryoptic/**/Cargo.lock') }}

- if: ${{ token }} == 'kryoptic'
- if: ${{ matrix.token }} == 'kryoptic'
name: Build Kryoptic
run: |
cd kryoptic
Expand All @@ -105,4 +105,4 @@ jobs:
PKCS11_MODULE: /usr/lib64/ossl-modules/pkcs11.so
KRYOPTIC: ${{ steps.kryoptic_setup.outputs.KRYOPTIC }}
run: |
pushd tests/integration && bash -e ${{ test }}.sh %{{ token }}
pushd tests/integration && bash -e ${{ matrix.test }}.sh %{{ matrix.token }}

0 comments on commit c13c0e5

Please sign in to comment.