Build for macOS #80
Workflow file for this run
This file contains hidden or 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
| name: Build for macOS | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| env: | |
| release_name: release-darwin-x86_64 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: dependencies | |
| run: echo no deps | |
| - name: check AR | |
| run: which ar | |
| - name: make | |
| run: make -j1 | |
| - name: download paks | |
| run: ./misc/download-paks.sh | |
| - name: change perms | |
| run: chmod -R ugo+rw build | |
| - name: upload binaries | |
| # only run if this was a tagged release (only works if separate job) | |
| # if: ( github.event_name == "create" ) && ( github.event.ref_type == 'tag' ) | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ env.release_name }} | |
| path: ./build/${{ env.release_name }}.zip |