workflows: remove the custom windows only jobs

Restore the job matrix to run on linux, macos and windows.

Remove lines with extra whitespace.

Improve the documentation of the Eowyn workflow.

Remove the single quoting of the workflow names.
This commit is contained in:
Manlio Perillo 2023-04-29 16:22:52 +02:00
parent edeca97370
commit 93e8b5710c
2 changed files with 10 additions and 42 deletions

View file

@ -1,5 +1,4 @@
name: 'CI' name: CI
# Makes some checks
on: on:
pull_request: pull_request:
@ -27,12 +26,12 @@ jobs:
- name: Check compatibility with old Zig compilers - name: Check compatibility with old Zig compilers
run: ci/compat.sh run: ci/compat.sh
test-linux_mac: test:
name: Unit Tests name: Unit Tests
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
@ -46,19 +45,3 @@ jobs:
- name: Run unit tests - name: Run unit tests
run: zig build test run: zig build test
test-windows:
name: Unit Test 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 unit tests
run: zig build test

View file

@ -1,5 +1,5 @@
name: 'Eowyn' # Test that exercises work with the latest Zig compiler.
# Tests all exercises name: Eowyn
on: on:
pull_request: pull_request:
@ -13,35 +13,20 @@ defaults:
shell: bash shell: bash
jobs: jobs:
build-linux_mac: build:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Setup Zig - name: Setup Zig
uses: goto-bus-stop/setup-zig@v2 uses: goto-bus-stop/setup-zig@v2
with: with:
version: master version: master
- 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 - name: Run Eowyn
run: patches/eowyn.sh run: patches/eowyn.sh