From 6a8270f62678ee620c9da7ea4ecfd3931b83cbed Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 19 Oct 2024 12:16:46 -0400 Subject: [PATCH] initial script --- .github/workflows/macos_build.yaml | 31 ++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/macos_build.yaml diff --git a/.github/workflows/macos_build.yaml b/.github/workflows/macos_build.yaml new file mode 100644 index 0000000..c86baf1 --- /dev/null +++ b/.github/workflows/macos_build.yaml @@ -0,0 +1,31 @@ +name: MacOS Build + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up environment + run: | + brew install bash + + - name: Run build script + run: | + chmod +x ./build_sokol_library.sh + ./build_sokol_library.sh + shell: bash + + - name: Upload artifacts + uses: actions/upload-artifact@v3 + with: + name: macos-build + path: ./build/ + if-no-files-found: error