Skip to content

Commit

Permalink
ci: Enable ci tests on arm64
Browse files Browse the repository at this point in the history
Signed-off-by: Seunguk Shin <[email protected]>
  • Loading branch information
Seunguk Shin committed Jan 22, 2025
1 parent ffd22b3 commit 0391434
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/aa_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,17 @@ jobs:
instance:
- ubuntu-24.04
- s390x
- ubuntu-24.04-arm
include:
- instance: ubuntu-24.04
make_args: ""
cargo_test_opts: "--features openssl,rust-crypto,all-attesters,kbs,coco_as,ttrpc,grpc"
- instance: s390x
make_args: "ATTESTER=se-attester TEE_PLATFORM=se"
cargo_test_opts: "--no-default-features --features openssl,passport,se-attester,kbs,coco_as"
- instance: ubuntu-24.04-arm
make_args: "ATTESTER=se-attester TEE_PLATFORM=cca"
cargo_test_opts: "--no-default-features --features openssl,rust-crypto,passport,cca-attester,kbs,coco_as,ttrpc,grpc"
runs-on: ${{ matrix.instance }}
steps:
- name: Code checkout
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/aa_cc_kbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,20 @@ jobs:
matrix:
rust:
- stable
attester:
- snp-attester
- tdx-attester
- az-snp-vtpm-attester
- az-tdx-vtpm-attester
instance:
- ubuntu-24.04
- ubuntu-24.04-arm
include:
- instance: ubuntu-24.04
attester: snp-attester
- instance: ubuntu-24.04
attester: tdx-attester
- instance: ubuntu-24.04
attester: az-snp-vtpm-attester
- instance: ubuntu-24.04
attester: az-tdx-vtpm-attester
- instance: ubuntu-24.04-arm
attester: cca-attester
steps:
- name: Code checkout
uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/aa_crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ jobs:
defaults:
run:
working-directory: ./attestation-agent
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
instance:
- ubuntu-24.04
- ubuntu-24.04-arm
suites:
- rust-crypto
- openssl
runs-on: ${{ matrix.instance }}

steps:
- name: Code checkout
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/aa_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ jobs:
build-and-push-images:
permissions:
packages: write
runs-on: ubuntu-24.04
strategy:
matrix:
instance:
- ubuntu-24.04
- ubuntu-24.04-arm
runs-on: ${{ matrix.instance }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/aa_sample_keyprovider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ jobs:
coco_keyprovider_ci:
if: github.event_name != 'push'
name: Check
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
rust:
- stable
instance:
- ubuntu-24.04
- ubuntu-24.04-arm
runs-on: ${{ matrix.instance }}

steps:
- name: Code checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/api-server-rest-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
instance:
- ubuntu-24.04
- s390x
- ubuntu-24.04-arm
rust:
- stable
runs-on: ${{ matrix.instance }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cdh_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
instance:
- ubuntu-24.04
- s390x
- ubuntu-24.04-arm
rust:
- stable
runs-on: ${{ matrix.instance }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/image_rs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
instance:
- ubuntu-24.04
- s390x
- ubuntu-24.04-arm
runs-on: ${{ matrix.instance }}
steps:
- name: Code checkout
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ocicrypt_rs_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ jobs:
ci:
if: github.event_name != 'push'
name: Check
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
instance:
- ubuntu-24.04
- ubuntu-24.04-arm
rust:
- 1.83.0
- stable
runs-on: ${{ matrix.instance }}

steps:
- name: Code checkout
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/trustee-attester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ jobs:
instance:
- ubuntu-24.04
- s390x
- ubuntu-24.04-arm
include:
- instance: ubuntu-24.04
cargo_test_opts: "-p kbs_protocol --bin trustee-attester --no-default-features --features background_check,passport,openssl,all-attesters,bin"
- instance: s390x
cargo_test_opts: "-p kbs_protocol --bin trustee-attester --no-default-features --features background_check,passport,openssl,se-attester,bin"
- instance: ubuntu-24.04-arm
cargo_test_opts: "-p kbs_protocol --bin trustee-attester --no-default-features --features background_check,passport,openssl,cca-attesters,bin"
runs-on: ${{ matrix.instance }}
steps:
- name: Code checkout
Expand Down

0 comments on commit 0391434

Please sign in to comment.