-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Reconsidelate all tests under one matrix to avoid log spam
I didn't like the "All workflows" log spam: With three configs, the commit message is repeated three times. So this reverts it to the last behavior and gives it better names.
Showing
4 changed files
with
45 additions
and
59 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Tests | ||
|
||
on: [ push, pull_request ] | ||
|
||
# Tests ensures the project builds and executes unittest. | ||
# The entry points are rather minimal. | ||
jobs: | ||
Alicedbg: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022 ] | ||
dc: [ dmd-latest, ldc-latest ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup D compiler | ||
uses: dlang-community/setup-dlang@v1 | ||
with: | ||
compiler: ${{ matrix.dc }} | ||
- name: Test Alicedbg | ||
run: dub test -c debugger | ||
Alicedump: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022 ] | ||
dc: [ dmd-latest, ldc-latest ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup D compiler | ||
uses: dlang-community/setup-dlang@v1 | ||
with: | ||
compiler: ${{ matrix.dc }} | ||
- name: Test Alicedump | ||
run: dub test -c dumper | ||
Simple: | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dlang-community/setup-dlang@v1 | ||
- name: Build Simple | ||
run: dub build -c simple |