-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (36 loc) · 1005 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: "bashdb CI"
on:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
name: "Run Tests on ${{ matrix.os }}"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies for Linux
if: runner.os == 'Linux'
shell: bash
run: |+
sudo apt -y update
sudo apt -y install autoconf automake texinfo
- name: Install dependencies for macOS
if: runner.os == 'macOS'
shell: bash
run: |+
brew update
brew install bash
brew install autoconf automake texinfo
# Not installing pygments, because apparently 'osascript' executed during bashdb's init is blocking
# if there's not user logged in.
- name: Configure
shell: bash
run: bash ./autogen.sh
- name: Test
shell: bash
env:
VERBOSE: 1
run: make -e -j3 check