Skip to content

Fix pystaq (#62)

Fix pystaq (#62) #70

Workflow file for this run

name: GitHub actions
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "**" ]
env:
BUILD_TYPE: Debug
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Configure staq
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build staq
run: cmake --build build
- name: Install staq
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
cmake --build build --target install
else
sudo cmake --build build --target install
fi
- name: Build unit tests
run: cmake --build build --target unit_tests --parallel 4
- name: Run unit tests
run: ctest --test-dir build
- name: Install pystaq
run: pip3 install --user .