skip ci #18959
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: skip ci | |
| on: | |
| push: | |
| branches: [ main ] | |
| schedule: | |
| - cron: '0 0,4,8,12,16,18 * * *' | |
| workflow_dispatch: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| skip-ci: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| # fails with error redefinition of module 'ELFKitC' | |
| #- os: 'macos-15-intel' | |
| # xcode: '16.4' | |
| - os: 'macos-26' | |
| xcode: '26.0' | |
| - os: 'ubuntu-24.04' | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer | |
| steps: | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: current | |
| add-job-summary: never | |
| - name: Checkout skipstone | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: skiptools/skipstone | |
| path: skipstone | |
| ref: main | |
| submodules: true | |
| - name: Checkout skip | |
| uses: actions/checkout@v6 | |
| with: | |
| repository: skiptools/skip | |
| path: skip | |
| # need to fetch tags so we know the most recent version | |
| fetch-tags: true | |
| - name: Setup Xcode | |
| if: ${{ startsWith(matrix.os, 'macos-') }} | |
| run: | | |
| # workaround for failure to find iOS 26 simulator | |
| # https://github.com/actions/runner-images/issues/12862#issuecomment-3239326872 | |
| xcrun simctl list || true | |
| # alternatively https://github.com/actions/runner-images/issues/12904#issuecomment-3245474273 | |
| xcodebuild -downloadPlatform iOS || true | |
| - name: Setup SKIPLOCAL | |
| run: | | |
| echo "SKIPLOCAL=$PWD/skipstone" >> $GITHUB_ENV | |
| echo "PATH=$PWD/skip/.build/plugins/tools/debug:$PWD/skip/.build/debug:$PATH" >> $GITHUB_ENV | |
| - name: Build Skip | |
| working-directory: skip | |
| run: swift build | |
| - name: Test Skip | |
| working-directory: skip | |
| run: swift test | |