diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 38b5dd299..6e4aba9cf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: build: name: build-agent-library - runs-on: ubuntu-latest + runs-on: ${{ matrix.run_qemu && 'observability-linux-2-arm64' || 'ubuntu-latest' }} needs: setup-build-matrix timeout-minutes: 300 strategy: @@ -42,10 +42,6 @@ jobs: BUILD_ARCHITECTURE: ${{ matrix.arch }} steps: - uses: actions/checkout@v4 - - if: ${{ matrix.run_qemu }} - uses: docker/setup-qemu-action@v3 - with: - platforms: arm64 - name: Build run: | uname -a diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e65acb668..eea59f994 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,10 +42,10 @@ jobs: phpt-tests: name: phpt-tests - runs-on: ubuntu-latest needs: - build - setup-build-matrix + runs-on: ${{ matrix.data.run_qemu && 'observability-linux-2-arm64' || 'ubuntu-latest' }} timeout-minutes: 120 strategy: fail-fast: false @@ -68,10 +68,6 @@ jobs: with: name: package-parts-${{ matrix.data.arch }} path: agent/native/_build/${{ matrix.data.arch }}-release/ - - if: ${{ matrix.data.run_qemu }} - uses: docker/setup-qemu-action@v3 - with: - platforms: arm64 - name: Prepare run: make -f .ci/Makefile prepare - name: phpt-unit-tests