From 6a5de73d8ee11b1c234b3840c222c69ea68597ea Mon Sep 17 00:00:00 2001 From: cg10036 Date: Mon, 6 Jan 2025 02:31:40 +0900 Subject: [PATCH] ci(crit): merge macOS/Windows crit build testing Signed-off-by: cg10036 --- .github/workflows/main.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d8aef2c3b..1ad16770b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,30 +60,12 @@ jobs: sudo -E make -C crit unit-test sudo -E make -C test crit-test - crit-macos: - runs-on: macos-latest - strategy: - fail-fast: false - matrix: - go-version: [1.20.x, 1.21.x, 1.22.x] - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Install Go ${{ matrix.go-version }} - uses: actions/setup-go@v5 - with: - go-version: ${{ matrix.go-version }} - - - name: Test CRIT - run: | - make -C crit clean bin/crit - - crit-windows: - runs-on: windows-latest + crit-build-test: + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: [windows-latest, macos-latest] go-version: [1.20.x, 1.21.x, 1.22.x] steps: - name: Checkout