From: romeroalx Date: Tue, 30 Apr 2024 05:59:14 +0000 (+0200) Subject: gh actions: builder.yml - add arm64 builds running on ubicloud X-Git-Tag: rec-5.1.0-beta1~4^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bae5594475651687440a45bef02396790ae0a4e;p=thirdparty%2Fpdns.git gh actions: builder.yml - add arm64 builds running on ubicloud --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 43cfc9e39b..c581fc19c6 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -19,7 +19,7 @@ jobs: build: name: build.sh if: ${{ vars.SCHEDULED_JOBS_BUILDER }} - runs-on: ubuntu-22.04 + runs-on: ${{ matrix.runner-os }} strategy: matrix: product: ['authoritative', 'recursor', 'dnsdist'] @@ -34,6 +34,12 @@ jobs: - debian-bookworm - debian-trixie - amazon-2023 + runner-os: + - ubuntu-22.04 + - ubicloud-standard-2-arm + exclude: + - os: centos-7 + runner-os: ubicloud-standard-2-arm fail-fast: false steps: - uses: actions/checkout@v4 @@ -47,9 +53,13 @@ jobs: run: | echo "version=$(readlink builder/tmp/latest)" >> $GITHUB_OUTPUT id: getversion + - name: Get target architecture + run: | + echo "target-arch=$(uname -m)" >> $GITHUB_OUTPUT + id: getarch - name: Upload packages uses: actions/upload-artifact@v4 with: - name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }} + name: ${{ matrix.product }}-${{ matrix.os }}-${{ steps.getversion.outputs.version }}-${{ steps.getarch.outputs.target-arch }} path: built_pkgs/ retention-days: 7