Remove incompatible compilers from build

This commit is contained in:
Mike Bierlee 2023-03-13 23:40:34 +03:00
parent b003feea43
commit 1856084e01
2 changed files with 32 additions and 50 deletions

View file

@ -51,35 +51,13 @@ jobs:
- dmd-2.100.2 - dmd-2.100.2
- dmd-2.099.1 - dmd-2.099.1
- dmd-2.098.1 - dmd-2.098.1
- dmd-2.097.2 - dmd-2.097.2 # Baseline DMD version
- dmd-2.096.1
- dmd-2.095.1
- dmd-2.094.2
- dmd-2.093.1
- dmd-2.092.1
- dmd-2.091.1
- dmd-2.090.1
- dmd-2.089.1
- dmd-2.088.1
- dmd-2.087.1
- dmd-2.086.1 # Baseline DMD version
- ldc-1.32.0 # eq to dmd v2.102.2 - ldc-1.32.0 # eq to dmd v2.102.2
- ldc-1.31.0 # eq to dmd v2.101.2 - ldc-1.31.0 # eq to dmd v2.101.2
- ldc-1.30.0 # eq to dmd v2.100.1 - ldc-1.30.0 # eq to dmd v2.100.1
- ldc-1.29.0 # eq to dmd v2.099.1 - ldc-1.29.0 # eq to dmd v2.099.1
- ldc-1.28.1 # eq to dmd v2.098.1 - ldc-1.28.1 # eq to dmd v2.098.1
- ldc-1.27.1 # eq to dmd v2.097.1 - ldc-1.27.1 # eq to dmd v2.097.1
- ldc-1.26.0 # eq to dmd v2.096.1
# - ldc-1.25.1 # eq to dmd v2.095.1. This version has issues. Do not use with Poodinis.
- ldc-1.24.0 # eq to dmd v2.094.1
- ldc-1.23.0 # eq to dmd v2.093.1
- ldc-1.22.0 # eq to dmd v2.092.1
- ldc-1.21.0 # eq to dmd v2.091.1
- ldc-1.20.1 # eq to dmd v2.090.1
- ldc-1.19.0 # eq to dmd v2.089.1
- ldc-1.18.0 # eq to dmd v2.088.1
- ldc-1.17.0 # eq to dmd v2.087
- ldc-1.16.0 # eq to dmd v2.086.1
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -98,35 +76,37 @@ jobs:
run: | run: |
dub run --build=release --config=quickstartExample dub run --build=release --config=quickstartExample
gdc-latest: # Mirage Config doesn't build in GDC for now
name: GDC on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install DMD (so dub is available) # gdc-latest:
uses: dlang-community/setup-dlang@v1 # name: GDC on Ubuntu
with: # runs-on: ubuntu-latest
compiler: dmd-latest # steps:
# - uses: actions/checkout@v2
- name: Install GDC # - name: Install DMD (so dub is available)
run: | # uses: dlang-community/setup-dlang@v1
sudo apt-get update # with:
sudo apt-get install gdc -y # compiler: dmd-latest
gdc --version
- name: Build library # - name: Install GDC
env: # run: |
DC: gdc # sudo apt-get update
run: dub build --compiler=gdc --build=release --config=library # sudo apt-get install gdc -y
# gdc --version
- name: Build unittest # - name: Build library
env: # env:
DC: gdc # DC: gdc
run: dub test --compiler=gdc --build=unittest --config=unittest # run: dub build --compiler=gdc --build=release --config=library
- name: Build examples # - name: Build unittest
env: # env:
DC: gdc # DC: gdc
run: | # run: dub test --compiler=gdc --build=unittest --config=unittest
dub run --compiler=gdc --build=release --config=quickstartExample
# - name: Build examples
# env:
# DC: gdc
# run: |
# dub run --compiler=gdc --build=release --config=quickstartExample

View file

@ -8,6 +8,8 @@ Licensed under the terms of the MIT license - See [LICENSE.txt](LICENSE.txt)
A config value injector for the [Poodinis dependency injection framework](https://github.com/mbierlee/poodinis) using [Mirage Config](https://github.com/mbierlee/mirage-config) A config value injector for the [Poodinis dependency injection framework](https://github.com/mbierlee/poodinis) using [Mirage Config](https://github.com/mbierlee/mirage-config)
Requires at least a D 2.097.2 compatible compiler
## Getting started ## Getting started
### DUB Dependency ### DUB Dependency