Skip to content

Commit

Permalink
Add arm64 build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz committed Mar 5, 2024
1 parent 4dc1bf9 commit 504ca10
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-arm64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build arm64

on:
workflow_run:
workflows:
- Snap Tester
types:
- completed

jobs:
build:
runs-on: ubuntu-latest
env:
arch: arm64

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: ${{ env.arch }}

- name: Build snap for arm64
uses: diddlesnaps/snapcraft-multiarch-action@v1
id: build
with:
architecture: ${{ env.arch }}

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: chip-tool_${{ github.run_number}}_${{ env.arch }}.snap
path: ${{ steps.build.outputs.snap }}

0 comments on commit 504ca10

Please sign in to comment.