Skip to content

Commit

Permalink
ci: try new ubuntu-22.04-arm in build-linux-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jan 19, 2025
1 parent 82d3ce6 commit 33294c5
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
retention-days: ${{ inputs.artifacts-retention-days }}

build-linux-arm64:
runs-on: ubuntu-22.04
runs-on: ubuntu-22.04-arm
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -75,19 +75,10 @@ jobs:
cache: "yarn"
- name: Install dependencies
run: yarn install
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/arm64
- name: Prepare & build
run: |
docker run --rm \
-e CMAKE_BUILD_PARALLEL_LEVEL=${{ env.CMAKE_BUILD_PARALLEL_LEVEL }} \
-v $(pwd):/${{ github.workspace }} \
-w /${{ github.workspace }} \
--platform linux/arm64 \
arm64v8/ubuntu:latest \
bash -c "./scripts/prepare-linux.sh && ./scripts/build-linux.sh"
bash ./scripts/prepare-linux.sh
bash ./scripts/build-linux.sh
- name: Upload build artifacts
if: github.event.inputs.upload-artifacts == 'YES' || inputs.upload-artifacts == 'YES'
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 33294c5

Please sign in to comment.