Skip to content

CI: trying running tests on Mac #443

CI: trying running tests on Mac

CI: trying running tests on Mac #443

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xutils-dev libreadline-dev curl bats
curl -L -o libpcut.deb https://github.com/vhotspur/pcut/releases/download/v0.0.1/libpcut_0.0.1_amd64.deb
sudo apt-get install ./libpcut.deb
- name: configure
run: ./configure
- name: make
run: make
- name: Show version
run: ./msim --version
- name: Check versions
run: ./contrib/self-version-check.sh
- name: Run tests
run: make test
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
brew install makedepend
curl -L -o pcut.pkg https://github.com/vhotspur/pcut/releases/download/v0.0.4/pcut-0.0.4-Darwin.pkg
installer -verbose -pkg pcut.pkg -target /
- name: configure
run: ./configure
- name: make
run: make
- name: Show version
run: ./msim --version
- name: Run tests
run: make test