Swift Package Manager distribution via prebuilt xcframework (iOS, macOS, Mac Catalyst, visionOS) #6067
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 and Run Unit/Functional tests on Windows | |
| 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 Windows unit/functional tests. 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: | |
| test: | |
| name: Test on Windows ${{ matrix.arch }}-${{ matrix.build }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| arch: [Win32, x64] | |
| build: [Release, Debug] | |
| os: [windows-2022] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| continue-on-error: true | |
| - name: setup-msbuild | |
| uses: microsoft/setup-msbuild@v2 | |
| with: | |
| vs-version: '[17,)' | |
| - name: Test ${{ matrix.arch }} ${{ matrix.build }} | |
| shell: cmd | |
| run: build-tests.cmd ${{ matrix.arch }} ${{ matrix.build }} |