Swift Package Manager distribution via prebuilt xcframework (iOS, macOS, Mac Catalyst, visionOS) #6065
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: C/C++ CI on Linux and Mac | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| - dev | |
| - dev/* | |
| - release/* | |
| - buildme/* | |
| pull_request: | |
| branches: | |
| - master | |
| - main | |
| - dev | |
| schedule: | |
| - cron: 0 2 * * 1-5 | |
| # Least-privilege GITHUB_TOKEN scope: this workflow only checks out source | |
| # and runs the Linux/Mac build matrix. Explicit block satisfies CodeQL rule | |
| # actions/missing-workflow-permissions if Actions analysis is enabled. | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| CMAKE_POLICY_VERSION_MINIMUM: "3.5" | |
| strategy: | |
| matrix: | |
| config: [release, debug] | |
| os: [ubuntu-latest, macOS-latest] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| continue-on-error: true | |
| - name: Test ${{ matrix.os }} ${{ matrix.config }} | |
| run: ./build-tests.sh ${{ matrix.config }} |