From 77f45e5f2c2f2f2e5c41544170d36727d8c099cb Mon Sep 17 00:00:00 2001 From: Hans Kratz Date: Mon, 16 Aug 2021 11:22:43 +0200 Subject: [PATCH] WIP: osx-arm64 release build --- .github/workflows/build-osx-arm64.yml | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/build-osx-arm64.yml diff --git a/.github/workflows/build-osx-arm64.yml b/.github/workflows/build-osx-arm64.yml new file mode 100644 index 00000000000..bbcd04e1c3b --- /dev/null +++ b/.github/workflows/build-osx-arm64.yml @@ -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 \ No newline at end of file