Continuous Integration #121
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: Continuous Integration | |
| on: | |
| push: | |
| tags: | |
| - "v[0-9]+.[0-9]+.[0-9]+" | |
| branches: | |
| - "**" | |
| pull_request: | |
| branches: | |
| - "**:**" | |
| release: | |
| schedule: | |
| - cron: "0 6 * * 1" | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: crystal-lang/install-crystal@v1 | |
| - run: crystal tool format --check | |
| test: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - ubuntu-24.04-arm | |
| - macos-latest | |
| - macos-15-intel | |
| - windows-latest | |
| fail-fast: false | |
| runs-on: ${{matrix.os}} | |
| steps: | |
| - run: git config --global core.autocrlf false | |
| - uses: actions/checkout@v5 | |
| - uses: crystal-lang/install-crystal@v1 | |
| - run: shards install | |
| - run: make test | |
| timeout-minutes: 5 | |
| - run: make test CRFLAGS="-Dpreview_mt" | |
| timeout-minutes: 5 | |
| - run: make test CRFLAGS="-Dpreview_mt -Dexecution_context" | |
| timeout-minutes: 5 |