Add Tty and Locale modules #1143
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: CI | |
| on: | |
| pull_request: | |
| 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: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| name: test (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - macos-15 # Apple Silicon | |
| - macos-15-intel # Intel Mac | |
| - ubuntu-22.04 # Linux x86_64 | |
| - ubuntu-24.04-arm # Linux ARM64 | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Zig | |
| uses: mlugg/setup-zig@8d6198c65fb0feaa111df26e6b467fea8345e46f # ratchet:mlugg/setup-zig@v2.0.5 | |
| with: | |
| version: 0.15.2 | |
| - name: Install expect (Ubuntu) | |
| if: startsWith(matrix.os, 'ubuntu-') | |
| run: sudo apt-get install -y expect | |
| - name: Install expect (macOS) | |
| if: startsWith(matrix.os, 'macos-') | |
| run: brew install expect | |
| - name: Run all tests | |
| uses: roc-lang/roc/.github/actions/flaky-retry@main | |
| with: | |
| command: ./ci/all_tests.sh | |
| error_string_contains: "error: unable" |