-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable separate workflows. Add test matrix wf
- Loading branch information
1 parent
351a09f
commit 45eae10
Showing
3 changed files
with
58 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
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 |