File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
5
5
jobs :
6
- linux :
7
- name : " Linux"
8
- runs-on : ubuntu-latest
6
+ tests :
7
+ strategy :
8
+ matrix :
9
+ os : [ubuntu-latest, macos-latest]
10
+
11
+ runs-on : ${{ matrix.os }}
12
+ name : " Run Tests on ${{ matrix.os }}"
9
13
steps :
10
14
- name : Checkout
11
15
uses : actions/checkout@v4
12
16
13
- - name : Setup Packages
17
+ - name : Install dependencies for Linux
18
+ if : runner.os == 'Linux'
14
19
shell : bash
15
20
run : |+
16
21
sudo apt -y update
17
22
sudo apt -y install autoconf automake texinfo
18
23
24
+ - name : Install dependencies for macOS
25
+ if : runner.os == 'macOS'
26
+ shell : bash
27
+ run : |+
28
+ brew update
29
+ brew install bash
30
+ brew install autoconf automake texinfo
31
+ # Not installing pygments, because apparently 'osascript' executed during bashdb's init is blocking
32
+ # if there's not user logged in.
33
+
19
34
- name : Configure
20
35
shell : bash
21
- run : sh ./autogen.sh
36
+ run : bash ./autogen.sh
22
37
23
38
- name : Test
24
39
shell : bash
You can’t perform that action at this time.
0 commit comments