Test daily with latest nightly #143
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
| on: | |
| pull_request: | |
| schedule: | |
| # Run daily at 8 PM UTC, after the nightlies are typically published. | |
| - cron: '0 20 * * *' | |
| workflow_dispatch: | |
| # this cancels workflows currently in progress if you start a new one | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| # Do not add permissions here! Configure them at the job level! | |
| permissions: {} | |
| jobs: | |
| test-examples: | |
| name: Test examples (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: roc-lang/setup-roc@cbe782d6f165b89c87d99f50a59ac4f5f73b4427 | |
| with: | |
| version: nightly-new-compiler | |
| - run: roc version | |
| # expect for testing | |
| - if: runner.os == 'Linux' | |
| run: sudo apt install -y expect | |
| - if: runner.os == 'Linux' | |
| run: expect -v | |
| # Run all tests | |
| - run: ROC=roc ./ci/all_tests.sh |