Skip to content

Commit

Permalink
CI: Reconsidelate all tests under one matrix to avoid log spam
Browse files Browse the repository at this point in the history
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.
dd86k committed May 10, 2024
1 parent 0a78260 commit d681567
Showing 4 changed files with 45 additions and 59 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/alicedbg.yaml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/alicedump.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/simple.yaml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/tests.yaml
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

0 comments on commit d681567

Please sign in to comment.