diff --git a/.github/workflows/build-macosx.yml b/.github/workflows/build-macosx.yml new file mode 100644 index 0000000..1936bf6 --- /dev/null +++ b/.github/workflows/build-macosx.yml @@ -0,0 +1,39 @@ +name: build-macosx + +on: + push: + branches: + - 'master' + +jobs: + amd64: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - + name: Build + run: | + chmod +x compile_macosx.sh + ./compile_macosx.sh amd64 Release + - + name: Export artifacts + uses: actions/upload-artifact@v2 + with: + name: macosx-amd64.tar.gz + path: out/binary_distrib.tar.gz + arm64: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - + name: Build + run: | + chmod +x compile_macosx.sh + ./compile_macosx.sh arm64 Release + - + name: Export artifacts + uses: actions/upload-artifact@v2 + with: + name: macosx-arm64.tar.gz + path: out/binary_distrib.tar.gz +