|
14 | 14 | strategy: |
15 | 15 | fail-fast: false |
16 | 16 | matrix: |
| 17 | + runs-on: [ubuntu-24.04, ubuntu-24.04-arm] |
17 | 18 | name: [fedora, debian, centos9, centos10, ubuntu, almalinux8] |
18 | 19 | compiler: [gcc, clang] |
19 | 20 | token: [softokn, softhsm, kryoptic] |
|
47 | 48 | token: kryoptic |
48 | 49 | - name: almalinux8 |
49 | 50 | token: kryoptic |
| 51 | + # Test on ARM only some use cases |
| 52 | + - runs-on: ubuntu-24.04-arm |
| 53 | + name: debian |
| 54 | + - runs-on: ubuntu-24.04-arm |
| 55 | + name: centos9 |
| 56 | + - runs-on: ubuntu-24.04-arm |
| 57 | + name: centos10 |
| 58 | + - runs-on: ubuntu-24.04-arm |
| 59 | + name: ubuntu |
| 60 | + - runs-on: ubuntu-24.04-arm |
| 61 | + name: almalinux8 |
50 | 62 | container: ${{ matrix.container }} |
51 | 63 | steps: |
52 | 64 | - name: Install Dependencies |
@@ -103,8 +115,14 @@ jobs: |
103 | 115 | uses: actions/checkout@v4 |
104 | 116 |
|
105 | 117 | - name: Setup |
| 118 | + id: setup |
106 | 119 | if : ( steps.skip-check.outputs.skiptest != 'true' ) |
107 | 120 | run: | |
| 121 | + if [ "${{ matrix.runs-on }}" = "ubuntu-24.04-arm" ]; then |
| 122 | + echo "cpu=ARM64" >> $GITHUB_OUTPUT |
| 123 | + else |
| 124 | + echo "cpu=X86_64" >> $GITHUB_OUTPUT |
| 125 | + fi |
108 | 126 | git config --global --add safe.directory \ |
109 | 127 | /__w/pkcs11-provider/pkcs11-provider |
110 | 128 | git submodule update --init |
@@ -254,4 +272,3 @@ jobs: |
254 | 272 | builddir/tests/${{ matrix.token }}/p11prov-debug.log |
255 | 273 | builddir/tests/${{ matrix.token }}/testvars |
256 | 274 | builddir/tests/${{ matrix.token }}/openssl.cnf |
257 | | -
|
|
0 commit comments