Run GitHub Actions workflow on Linux and macOS #69
Workflow file for this run
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: "bashdb CI" | |
on: | |
push: | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
name: "Test ${{ matrix.os }}" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies for Linux | |
if: matrix.os == 'ubuntu-latest' | |
shell: bash | |
run: |+ | |
sudo apt -y update | |
sudo apt -y install bash | |
sudo apt -y install autoconf automake texinfo | |
- name: Install dependencies for macOS | |
if: matrix.os == 'macos-latest' | |
shell: bash | |
run: |+ | |
brew update | |
brew install autoconf automake texinfo | |
which autoconf | |
which automake | |
echo $PATH | |
- name: Configure | |
shell: bash | |
run: sh ./autogen.sh | |
- name: Test | |
shell: bash | |
env: | |
VERBOSE: 1 | |
run: make -e -j3 check |