Remove angle #12
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 CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: macOS-26 | |
| permissions: | |
| contents: write # GITHUB_TOKEN needs this to manage the `latest` release | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| submodules: 'false' | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: '26.4.1' | |
| - name: Install dependencies | |
| run: | | |
| brew update | |
| brew install automake libtool cmake nasm | |
| - name: Build | |
| run: ./build.sh | |
| # Publish the rolling "latest" ANGLE Swift package on every push to main: | |
| # (re)build the `latest` prerelease with SHA-stamped assets and force-push | |
| # the xLights-spm `latest` branch. Consumers track it via branch: "latest". | |
| # Skipped on PRs / when SPM_REPO_TOKEN is absent. | |
| - name: Publish Swift package (latest) | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| env: | |
| SPM_REPO_TOKEN: ${{ secrets.SPM_REPO_TOKEN }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: ./submodules/spm/publish.sh latest | |