Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BachiLi authored Jan 8, 2024
1 parent b0e0f56 commit c2de553
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,24 @@ on:

jobs:
build:

runs-on: [ubuntu-latest, windows-latest, macos-latest]
name: ${{ matrix.os }}-${{ github.workflow }}
runs-on: ${{ matrix.os }}
strategy:
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
run: cd build; cmake --build . -j
- name: make test
run: cd build; make test
run: cd build; cmake --build . -- test

0 comments on commit c2de553

Please sign in to comment.