Skip to content

feat: complete refactor, ci compilation + test, CMake configs #30

feat: complete refactor, ci compilation + test, CMake configs

feat: complete refactor, ci compilation + test, CMake configs #30

Workflow file for this run

name: Unit Tests
on:
push:
branches: [trunk]
pull_request:
branches: [trunk]
jobs:
unit_tests:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
package: [atchops, atclient]
runs-on: ${{ matrix.os }}
steps:
- name: Upper
run: |
UPPER=$(echo "${{ matrix.package }}" | tr '[:lower:]' '[:upper:]')
- name: CMake Configure, Make Install, and CTest
uses: threeal/[email protected]
with:
source-dir: packages/${{ matrix.package }}
generator: Unix Makefiles
args: -D${UPPER}_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