-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to check aarch64 setup script (#2028)
* Add workflow to check aarch64 setup script * Add sudo * Fix step name * Do not copy authorized keys if GITHUB_ACTIONS env var exists * Fix * Fix typo * Fix * Final fix * Fix
- Loading branch information
1 parent
78fe45a
commit 5f8f5b6
Showing
2 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Test aarch64-runner setup script | ||
|
||
on: | ||
schedule: | ||
# Weekly, at 03:00 on Monday UTC time | ||
- cron: "0 3 * * 1" | ||
pull_request: | ||
paths: | ||
- ".github/workflows/aarch64-setup.yml" | ||
- "aarch64-runner/setup.sh" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- ".github/workflows/aarch64-setup.yml" | ||
- "aarch64-runner/setup.sh" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-script: | ||
# The script itself is not aarch64 specific | ||
# It is easier to test on ubuntu-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Repo ⚡️ | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run setup script ✅ | ||
run: sudo ./aarch64-runner/setup.sh |
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