Skip to content

ARM64 build on native runner #2

ARM64 build on native runner

ARM64 build on native runner #2

Workflow file for this run

name: Snap CI
on:
# schedule:
# - cron: "20 2 * * 1" # Monday morning 02:20 UTC
push:
# branches: [main]
pull_request:
# branches: [main]
# Allow manual trigger
workflow_dispatch:
env:
ARTIFACT_AMD64: chip-tool_${{ github.run_number}}_amd64
ARTIFACT_ARM64: chip-tool_${{ github.run_number}}_arm64
jobs:
build_matrix:
strategy:
matrix:
runner: ["ubuntu-latest", [self-hosted, ARM64, Linux]]
runs-on: ${{ matrix.runner }}
env:
RUNNER: ${{ matrix.runner }}
# outputs:
# snap: ${{ steps.snapcraft.outputs.snap }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Debug print
run: |
echo "Running on $RUNNER"
# - name: Build snap
# uses: snapcore/action-build@v1
# id: snapcraft
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: ${{ env.ARTIFACT_AMD64 }}
# path: ${{ steps.snapcraft.outputs.snap }}
# if-no-files-found: error