-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (35 loc) · 911 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
- name: Set up MacPorts
if: matrix.os == 'macos-latest'
uses: melusina-org/setup-macports@v1
- name: Install Expect with MacPorts
if: matrix.os == 'macos-latest'
run: |
port install expect
- name: Set up just
uses: extractions/setup-just@v2
- name: Run tests
run: |
just test