ci(github/macOS): install Expect for Tcl 8.6 #32
This file contains 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: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies with APT | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get install -y expect | |
- name: Install dependencies with Homebrew | |
if: matrix.os == 'macos-latest' | |
run: | | |
# Remove Expect built for Tcl 8.5. | |
brew uninstall expect | |
sudo port install expect | |
- name: Set up just | |
uses: extractions/setup-just@v2 | |
- name: Run tests | |
run: | | |
just test |