Skip to content

Commit ecd0488

Browse files
committed
GitHub CI/CD: Run the checks on the "arm64" (aarch64) architecture too.
1 parent eeac2ad commit ecd0488

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/cargo-workflow.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
with:
5858
toolchain: ${{ matrix.rust }}
5959
cache: false
60-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
60+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
6161
with:
6262
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
6363
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
@@ -82,10 +82,10 @@ jobs:
8282
with:
8383
toolchain: ${{ matrix.rust }}
8484
cache: false
85-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
85+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
8686
with:
87-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
88-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
87+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
88+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
8989
- run: |
9090
cp -vr examples/data ~/my-fapi-config
9191
make docker.swtpm DETACH=1
@@ -109,10 +109,10 @@ jobs:
109109
with:
110110
toolchain: ${{ matrix.rust }}
111111
cache: false
112-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
112+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
113113
with:
114-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
115-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
114+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
115+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
116116
- run: |
117117
make docker.swtpm DETACH=1
118118
make tests FAPI_RS_TEST_PROF=${{ matrix.profile }}
@@ -149,10 +149,10 @@ jobs:
149149
cache: false
150150
components: llvm-tools-preview
151151
- uses: taiki-e/install-action@cargo-llvm-cov
152-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
152+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
153153
with:
154-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
155-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
154+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
155+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
156156
- run: |
157157
make docker.swtpm DETACH=1
158158
make codecov RUST_LOG=info TSS2_LOG=all+none
@@ -184,10 +184,10 @@ jobs:
184184
with:
185185
toolchain: ${{ matrix.rust }}
186186
cache: false
187-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
187+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
188188
with:
189-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
190-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
189+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
190+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
191191
- run: make build
192192
- run: cp -vf README.md LICENSE target/release/
193193
- run: |
@@ -216,10 +216,10 @@ jobs:
216216
with:
217217
toolchain: ${{ inputs.TOOLCHAIN_MAX }}
218218
cache: false
219-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
219+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
220220
with:
221-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
222-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
221+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
222+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
223223
- run: make docs
224224
- run: |
225225
cp -f docs/html/redir.html target/doc/index.html
@@ -241,10 +241,10 @@ jobs:
241241
with:
242242
toolchain: ${{ inputs.TOOLCHAIN_MAX }}
243243
cache: false
244-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
244+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
245245
with:
246-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
247-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
246+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
247+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
248248
- run: make package
249249
- uses: actions/upload-artifact@v4
250250
with:
@@ -310,10 +310,10 @@ jobs:
310310
with:
311311
toolchain: ${{ inputs.TOOLCHAIN_MAX }}
312312
cache: false
313-
- uses: awalsh128/cache-apt-pkgs-action@v1.4.3
313+
- uses: awalsh128/cache-apt-pkgs-action@v1.6.0
314314
with:
315-
packages: libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
316-
version: v1-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
315+
packages: pkgconf libtss2-dev uuid-dev libjson-c-dev libcurl4-openssl-dev
316+
version: v2-${{ matrix.architecture }}-${{ matrix.platform }}-${{ github.run_id }}
317317
- run: make publish
318318
env:
319319
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)