From dcd16044f42619f307bd5eb31660bc3629fe7439 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 28 Apr 2023 11:03:24 +0000 Subject: [PATCH 1/6] split in windows and uses PowerShell --- .github/workflows/ci.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f40f279..c7e65b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,10 +29,10 @@ jobs: run: ci/compat.sh test: - name: Unit Test + name: Unit Tests strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} timeout-minutes: 30 steps: @@ -46,3 +46,21 @@ jobs: - name: Run unit tests run: zig build test + + name: Unit Test Windows + strategy: + matrix: + runs-on: windows-latest + timeout-minutes: 30 + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Zig + uses: goto-bus-stop/setup-zig@v2 + with: + version: master + + - name: Run unit tests + run: zig build test + shell: pwsh From 0302650acf47ce3c94e44eebd50f5bba705d9d17 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 28 Apr 2023 11:10:37 +0000 Subject: [PATCH 2/6] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7e65b9..db259e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Check compatibility with old Zig compilers run: ci/compat.sh - test: + test-linux_mac: name: Unit Tests strategy: matrix: @@ -47,6 +47,7 @@ jobs: - name: Run unit tests run: zig build test + test-windows: name: Unit Test Windows strategy: matrix: From b903edd290dcba3d5aaf137f2d54899f04e3be58 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 28 Apr 2023 11:14:43 +0000 Subject: [PATCH 3/6] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db259e0..062c5a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,8 @@ jobs: name: Unit Test Windows strategy: matrix: - runs-on: windows-latest + os: [windows-latest] + runs-on: ${{ matrix.os }} timeout-minutes: 30 steps: - name: Checkout From c74c542372d66a81a847554fa216b67214f4c8c4 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 28 Apr 2023 11:17:57 +0000 Subject: [PATCH 4/6] Update ci.yml --- .github/workflows/ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 062c5a5..9e087a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,10 +49,7 @@ jobs: test-windows: name: Unit Test Windows - strategy: - matrix: - os: [windows-latest] - runs-on: ${{ matrix.os }} + on: windows-latest timeout-minutes: 30 steps: - name: Checkout From 7cfdc2b126051ea38a12d7fb920e9396afe2460e Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 28 Apr 2023 11:20:54 +0000 Subject: [PATCH 5/6] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e087a4..88a7534 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: test-windows: name: Unit Test Windows - on: windows-latest + runs-on: windows-latest timeout-minutes: 30 steps: - name: Checkout From 83fa3de2207d8a4e256238910798767de4badfc7 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Fri, 28 Apr 2023 11:29:18 +0000 Subject: [PATCH 6/6] Split Windows with PowerShell --- .github/workflows/eowyn.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eowyn.yml b/.github/workflows/eowyn.yml index 1b94a48..244deef 100644 --- a/.github/workflows/eowyn.yml +++ b/.github/workflows/eowyn.yml @@ -13,10 +13,10 @@ defaults: shell: bash jobs: - build: + build-linux_mac: strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} timeout-minutes: 30 steps: @@ -30,3 +30,19 @@ jobs: - name: Run Eowyn run: patches/eowyn.sh + + build-windows: + runs-on: windows-latest + timeout-minutes: 30 + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Setup Zig + uses: goto-bus-stop/setup-zig@v2 + with: + version: master + + - name: Run Eowyn + run: patches/eowyn.sh + shell: pwsh