mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
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:
parent
edeca97370
commit
93e8b5710c
2 changed files with 10 additions and 42 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
@ -1,5 +1,4 @@
|
|||
name: 'CI'
|
||||
# Makes some checks
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
@ -28,11 +27,11 @@ jobs:
|
|||
- name: Check compatibility with old Zig compilers
|
||||
run: ci/compat.sh
|
||||
|
||||
test-linux_mac:
|
||||
test:
|
||||
name: Unit Tests
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
|
@ -46,19 +45,3 @@ jobs:
|
|||
|
||||
- name: Run unit tests
|
||||
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
|
||||
|
|
23
.github/workflows/eowyn.yml
vendored
23
.github/workflows/eowyn.yml
vendored
|
@ -1,5 +1,5 @@
|
|||
name: 'Eowyn'
|
||||
# Tests all exercises
|
||||
# Test that exercises work with the latest Zig compiler.
|
||||
name: Eowyn
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
@ -13,10 +13,10 @@ defaults:
|
|||
shell: bash
|
||||
|
||||
jobs:
|
||||
build-linux_mac:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
|
@ -30,18 +30,3 @@ 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
|
||||
|
|
Loading…
Reference in a new issue