π MacOs Build Plugin | Commit: 23de26eb3154daeb84f8f8f41aa610c4ebed8c30 π οΈ #13
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: macOS-plugin | |
| run-name: "π MacOs Build Plugin | Commit: ${{ github.sha }} π οΈ" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| brew install cmake pkg-config glfw glew wasm-component-ld wabt | |
| - name: Set up environment paths | |
| run: | | |
| echo "CPATH=/opt/homebrew/include:$CPATH" >> $GITHUB_ENV | |
| echo "LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH" >> $GITHUB_ENV | |
| echo "PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig:$PKG_CONFIG_PATH" >> $GITHUB_ENV | |
| - name: Build plugin | |
| run: | | |
| cd src | |
| chmod +x build.sh | |
| ./build.sh target:plugin |