Add macosx

This commit is contained in:
FriwiDev 2021-11-15 00:45:38 +01:00
parent 0a2c2d2fc7
commit d4d3a96a22

39
.github/workflows/build-macosx.yml vendored Normal file
View File

@ -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