feat: complete refactor, ci compilation + test, CMake configs #27
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: AtChops & AtClient Unit Tests | |
on: | |
push: | |
branches: [trunk] | |
pull_request: | |
branches: [trunk] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
package: [ATCHOPS, ATCLIENT] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 | |
- name: CMake Configure, Make Install, and CTest | |
uses: threeal/[email protected] | |
with: | |
source-dir: packages/${{ matrix.package }} | |
generator: Unix Makefiles | |
args: -D${{ matrix.package }}_BUILD_TESTS=ON | |
build-dir: packages/${{ matrix.package }}/build | |
run-build: true | |
build-args: --target install | |
run-test: true | |
test-args: -V --output-on-failure | |