diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index c8c3e93..3ad65d8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -8,14 +8,27 @@ on: jobs: build: - - runs-on: ubuntu-latest + name: ${{ matrix.os }}-${{ github.workflow }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: windows-latest + triplet: x64-windows + - os: ubuntu-latest + triplet: x64-linux + - os: macos-latest + triplet: x64-osx steps: - uses: actions/checkout@v3 - name: configure run: mkdir build; cd build; cmake .. - name: make - run: cd build; make -j - - name: make test - run: cd build; make test + run: cd build; cmake --build . -j -v + - name: macos-test + run: cd build; ./test_filter + #- name: test + # run: cd build; ctest