feat: complete refactor, ci compilation + test, CMake configs #11
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: Tests | |
on: | |
push: | |
branches: [trunk] | |
pull_request: | |
branches: [trunk] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | |
- name: Configure with CMake, Build with Makefiles | |
continue-on-error: true # run even if other os's fail | |
uses: threeal/[email protected] | |
with: | |
source-dir: packages/atclient | |
build-dir: packages/atclient/build | |
generator: Unix Makefiles | |
run-build: true | |
run-test: false | |
- name: Run CTest | |
working-directory: packages/atclient/build/tests | |
run: | | |
ctest -V --output-on-failure | |