build #1009
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| - ci | |
| pull_request: # any pull request against any branch | |
| workflow_dispatch: # manual trigger | |
| schedule: | |
| # ┌───────────── minute (0 - 59) | |
| # │ ┌───────────── hour (0 - 23) | |
| # │ │ ┌───────────── day of the month (1 - 31) | |
| # │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) | |
| # │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) | |
| # │ │ │ │ │ | |
| # * * * * * | |
| - cron: "0 15 * * *" # every day at 15:00 UTC (7:00 PST, 8:00 PDT) | |
| env: | |
| TERM: xterm-256color | |
| DEVELOPER_DIR: /Applications/Xcode_${{ vars.XCODE_VERSION }}.app/Contents/Developer | |
| jobs: | |
| build-root: | |
| name: Build root package | |
| runs-on: ${{ vars.MACOS }} | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Bootstrap | |
| uses: ./.github/actions/bootstrap | |
| - name: Build root package | |
| run: make build | |
| build: | |
| name: Build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: [macOS, iOS, tvOS, visionOS] | |
| timeout-minutes: 30 | |
| runs-on: ${{ vars.MACOS }} | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Bootstrap | |
| uses: ./.github/actions/bootstrap | |
| # - name: Download visionOS simulator | |
| # if: matrix.platform == 'visionOS' | |
| # run: xcodebuild -downloadPlatform visionOS | |
| - name: Build | |
| run: make build-release-${{ matrix.platform }} -C ChouTiUI |