From 8cfe5a285842d543c54a1788ba4b94a738d42e7f Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> 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 ec9c04f055753302eb37a6d71e334e423a48f223 Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> 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 4754e758d30a219133d5a7f610d3813a2add5ff4 Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> 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 993d86f2cd6e155dac87061117d18239c191fb68 Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> 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 c168c5f9cdd718f3c345be5c633c9579bf2b8635 Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> 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 eaf391a867afb2079654ea4f2e21027923f64ec8 Mon Sep 17 00:00:00 2001 From: Chris Boesch <48591413+chrboesch@users.noreply.github.com> 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