From b0e0f56d20de50e93fec15cc297fdb8ba18d2896 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 14:44:39 -0500 Subject: [PATCH 1/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index c8c3e93..f01565e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -9,7 +9,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v3 From c2de553aba99fef38530ad7107af8183ee922351 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 15:00:17 -0500 Subject: [PATCH 2/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index f01565e..bb19e0a 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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 From ea0cf9bdb06f18574e86edab640b27e243b6f272 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 15:12:39 -0500 Subject: [PATCH 3/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index bb19e0a..ff09c88 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -11,6 +11,7 @@ jobs: name: ${{ matrix.os }}-${{ github.workflow }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] include: @@ -26,6 +27,6 @@ jobs: - name: configure run: mkdir build; cd build; cmake .. - name: make - run: cd build; cmake --build . -j + run: cd build; cmake --build . -j -v - name: make test - run: cd build; cmake --build . -- test + run: cd build; cmake --build . -v -- test From ecf7b98f2b0da40ccf6b3692f61ffc9a30221af2 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 15:15:39 -0500 Subject: [PATCH 4/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index ff09c88..d7de1c6 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -28,5 +28,5 @@ jobs: run: mkdir build; cd build; cmake .. - name: make run: cd build; cmake --build . -j -v - - name: make test - run: cd build; cmake --build . -v -- test + - name: test + run: cd build; ctest From 84fb91336bbcb6c2bfb6d48c2aa0275522a472fe Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 15:21:02 -0500 Subject: [PATCH 5/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d7de1c6..d3618e3 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -19,7 +19,7 @@ jobs: triplet: x64-windows - os: ubuntu-latest triplet: x64-linux - - os: macos-latest + - os: macos-11 triplet: x64-osx steps: From 9416f201479e89ad5650f5b4c0e2607d14be09a7 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 15:22:31 -0500 Subject: [PATCH 6/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d3618e3..0c7f3cc 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-11, windows-latest] include: - os: windows-latest triplet: x64-windows From 62311e88282edb49e9b7d7dd262b7fba02e17403 Mon Sep 17 00:00:00 2001 From: Tzu-Mao Li Date: Mon, 8 Jan 2024 15:25:43 -0500 Subject: [PATCH 7/7] Update c-cpp.yml --- .github/workflows/c-cpp.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 0c7f3cc..3ad65d8 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -13,13 +13,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-11, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] include: - os: windows-latest triplet: x64-windows - os: ubuntu-latest triplet: x64-linux - - os: macos-11 + - os: macos-latest triplet: x64-osx steps: @@ -28,5 +28,7 @@ jobs: run: mkdir build; cd build; cmake .. - name: make run: cd build; cmake --build . -j -v - - name: test - run: cd build; ctest + - name: macos-test + run: cd build; ./test_filter + #- name: test + # run: cd build; ctest