This repository was archived by the owner on Mar 29, 2023. It is now read-only.
forked from actions/runner
-
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.
- Loading branch information
Showing
1 changed file
with
39 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,39 @@ | ||
name: osx-arm64 Release Build | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- macos-arm64 | ||
|
||
jobs: | ||
build: | ||
runs-on: [self-hosted, macOS, ARM64] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
# Build runner layout | ||
- name: Build & Layout Release | ||
run: | | ||
./dev.sh layout Release osx-arm64 | ||
working-directory: src | ||
|
||
# Run tests | ||
- name: L0 | ||
run: | | ||
./dev.sh test | ||
working-directory: src | ||
|
||
# Create runner package tar.gz/zip | ||
- name: Package Release | ||
run: | | ||
./dev.sh package Release osx-arm64 | ||
working-directory: src | ||
|
||
# Upload runner package tar.gz/zip as artifact. | ||
# Since each package name is unique, so we don't need to put ${{matrix}} info into artifact name | ||
- name: Publish Artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: runner-packages | ||
path: _package |