diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6dd2c0dcca..6f6d83f8d65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,13 @@ jobs: arch: x86_64 version: ${{ needs.fetch-version.outputs.version }} + build-dev-packages-arm64: + needs: [fetch-version] + uses: ./.github/workflows/reusable_build_packages.yaml + with: + arch: aarch64 + version: ${{ needs.fetch-version.outputs.version }} + test-dev-packages: needs: [fetch-version, build-dev-packages] uses: ./.github/workflows/reusable_test_packages.yaml @@ -35,6 +42,16 @@ jobs: static: ${{ matrix.static != '' && true || false }} version: ${{ needs.fetch-version.outputs.version }} + test-dev-packages-arm64: + needs: [fetch-version, build-dev-packages] + uses: ./.github/workflows/reusable_test_packages.yaml + strategy: + fail-fast: false + with: + arch: aarch64 + static: ${{ matrix.static != '' && true || false }} + version: ${{ needs.fetch-version.outputs.version }} + build-dev-minimal: uses: ./.github/workflows/reusable_build_dev.yaml with: @@ -42,7 +59,15 @@ jobs: git_ref: ${{ github.event.pull_request.head.sha }} minimal: true build_type: Debug - + + build-dev-minimal-arm64: + uses: ./.github/workflows/reusable_build_dev.yaml + with: + arch: aarch64 + git_ref: ${{ github.event.pull_request.head.sha }} + minimal: true + build_type: Debug + # builds using system deps, checking out the PR's code # note: this also runs a command that generates an output of form: " ", # of which is computed by hashing in order the following: diff --git a/.github/workflows/reusable_build_dev.yaml b/.github/workflows/reusable_build_dev.yaml index 8ecbd5d1c7b..bfd571342eb 100644 --- a/.github/workflows/reusable_build_dev.yaml +++ b/.github/workflows/reusable_build_dev.yaml @@ -31,8 +31,7 @@ on: jobs: build-and-test: # See https://github.com/actions/runner/issues/409#issuecomment-1158849936 - runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-22.04' }} - container: ${{ (inputs.arch == 'aarch64' && 'ubuntu:22.04') || '' }} + runs-on: ${{ (inputs.arch == 'aarch64' && 'actuated-arm64-8cpu-16gb') || 'ubuntu-22.04' }} outputs: cmdout: ${{ steps.run_cmd.outputs.out }} steps: diff --git a/.github/workflows/reusable_build_docker.yaml b/.github/workflows/reusable_build_docker.yaml index e16ab70c962..f2dab156858 100644 --- a/.github/workflows/reusable_build_docker.yaml +++ b/.github/workflows/reusable_build_docker.yaml @@ -27,7 +27,7 @@ on: jobs: build-docker: # See https://github.com/actions/runner/issues/409#issuecomment-1158849936 - runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-latest' }} + runs-on: ${{ (inputs.arch == 'aarch64' && 'actuated-arm64-8cpu-16gb') || 'ubuntu-latest' }} env: TARGETARCH: ${{ (inputs.arch == 'aarch64' && 'arm64') || 'amd64' }} steps: diff --git a/.github/workflows/reusable_build_packages.yaml b/.github/workflows/reusable_build_packages.yaml index 4fe08b92eb0..5b818b6de22 100644 --- a/.github/workflows/reusable_build_packages.yaml +++ b/.github/workflows/reusable_build_packages.yaml @@ -14,7 +14,7 @@ on: jobs: build-modern-bpf-skeleton: # See https://github.com/actions/runner/issues/409#issuecomment-1158849936 - runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-latest' }} + runs-on: ${{ (inputs.arch == 'aarch64' && 'actuated-arm64-8cpu-16gb') || 'ubuntu-latest' }} container: fedora:latest steps: # Always install deps before invoking checkout action, to properly perform a full clone. @@ -40,7 +40,7 @@ jobs: build-packages: # See https://github.com/actions/runner/issues/409#issuecomment-1158849936 - runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-latest' }} + runs-on: ${{ (inputs.arch == 'aarch64' && 'actuated-arm64-8cpu-16gb') || 'ubuntu-latest' }} needs: [build-modern-bpf-skeleton] container: centos:7 steps: diff --git a/.github/workflows/reusable_test_packages.yaml b/.github/workflows/reusable_test_packages.yaml index 26f959b278b..978bdaaf9d1 100644 --- a/.github/workflows/reusable_test_packages.yaml +++ b/.github/workflows/reusable_test_packages.yaml @@ -19,7 +19,7 @@ on: jobs: test-packages: # See https://github.com/actions/runner/issues/409#issuecomment-1158849936 - runs-on: ${{ (inputs.arch == 'aarch64' && fromJSON('[ "self-hosted", "linux", "ARM64" ]')) || 'ubuntu-latest' }} + runs-on: ${{ (inputs.arch == 'aarch64' && 'actuated-arm64-8cpu-16gb') || 'ubuntu-latest' }} steps: - name: Checkout uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 @@ -65,6 +65,7 @@ jobs: # Right now we are not able to install kernel-headers on our ARM64 self-hosted runner. # For this reason, we disable the falco-driver-loader tests, which require kernel headers on the host. + # TODO: check if it's possible to do so in actuated runners - name: Run regression tests env: # fixme(leogr): this is a workaround for https://github.com/falcosecurity/falco/issues/2784