Skip to content

Commit

Permalink
CI: Update to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
dd86k committed Apr 22, 2024
1 parent f798cb8 commit 65ee48c
Showing 1 changed file with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions .github/workflows/d-dmd.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,42 @@
name: D-dmd

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
on: [ push, pull_request ]

# Tests ensures the project builds and executes unittest.
# The entry points are rather minimal.
jobs:
Alicedbg:
runs-on: [ ubuntu-latest, windows-latest ]
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@v2
- uses: dlang-community/setup-dlang@v1
- name: 'Test'
run: dub test -c debugger --compiler=dmd
- name: Setup D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Test
run: dub test -c debugger
Alicedump:
runs-on: [ ubuntu-latest, windows-latest ]
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@v2
- uses: dlang-community/setup-dlang@v1
- name: 'Test'
- name: Test
run: dub test -c dumper --compiler=dmd
Simple:
runs-on: [ ubuntu-latest, windows-latest ]
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: dlang-community/setup-dlang@v1
- name: 'Test'
- name: Test
run: dub build -c simple --compiler=dmd

0 comments on commit 65ee48c

Please sign in to comment.