Skip to content

Commit

Permalink
Remove incompatible compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Bierlee committed Mar 13, 2023
1 parent a995c71 commit c5b203a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 60 deletions.
99 changes: 40 additions & 59 deletions .github/workflows/dub.yml
Expand Up @@ -56,34 +56,13 @@ jobs:
- dmd-2.100.2
- dmd-2.099.1
- dmd-2.098.1
- dmd-2.097.2
- 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
- dmd-2.097.2 # Baseline DMD version
- ldc-1.32.0 # eq to dmd v2.102.2
- ldc-1.31.0 # eq to dmd v2.101.2
- ldc-1.30.0 # eq to dmd v2.100.1
- ldc-1.29.0 # eq to dmd v2.099.1
- ldc-1.28.1 # eq to dmd v2.098.1
- ldc-1.27.1 # eq to dmd v2.097.1
- ldc-1.26.0 # eq to dmd v2.096.1
- 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:
- uses: actions/checkout@v2

Expand All @@ -107,40 +86,42 @@ jobs:
dub run --build=release --config=valueSubstitutionExample
dub run --build=release --config=manipulationExample
gdc-latest:
name: GDC on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install DMD (so dub is available)
uses: dlang-community/setup-dlang@v1
with:
compiler: dmd-latest

- name: Install GDC
run: |
sudo apt-get update
sudo apt-get install gdc -y
gdc --version
- name: Build library
env:
DC: gdc
run: dub build --compiler=gdc --build=release --config=library

- name: Build unittest
env:
DC: gdc
run: dub test --compiler=gdc --build=unittest --config=unittest

- name: Build examples
env:
DC: gdc
run: |
dub run --compiler=gdc --build=release --config=quickstartExample
dub run --compiler=gdc --build=release --config=jsonExample
dub run --compiler=gdc --build=release --config=javaPropertiesExample
dub run --compiler=gdc --build=release --config=iniExample
dub run --compiler=gdc --build=release --config=valueSubstitutionExample
dub run --compiler=gdc --build=release --config=manipulationExample
# GDC has compatibility issues

# gdc-latest:
# name: GDC on Ubuntu
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2

# - name: Install DMD (so dub is available)
# uses: dlang-community/setup-dlang@v1
# with:
# compiler: dmd-latest

# - name: Install GDC
# run: |
# sudo apt-get update
# sudo apt-get install gdc -y
# gdc --version

# - name: Build library
# env:
# DC: gdc
# run: dub build --compiler=gdc --build=release --config=library

# - name: Build unittest
# env:
# DC: gdc
# run: dub test --compiler=gdc --build=unittest --config=unittest

# - name: Build examples
# env:
# DC: gdc
# run: |
# dub run --compiler=gdc --build=release --config=quickstartExample
# dub run --compiler=gdc --build=release --config=jsonExample
# dub run --compiler=gdc --build=release --config=javaPropertiesExample
# dub run --compiler=gdc --build=release --config=iniExample
# dub run --compiler=gdc --build=release --config=valueSubstitutionExample
# dub run --compiler=gdc --build=release --config=manipulationExample
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@ Version 1.0.0
Copyright 2022-2023 Mike Bierlee
Licensed under the terms of the MIT license - See [LICENSE.txt](LICENSE.txt)

[![DUB Package](https://img.shields.io/dub/v/mirage-config.svg)](https://code.dlang.org/packages/mirage-config)
[![DUB Package](https://img.shields.io/dub/v/mirage-config.svg)](https://code.dlang.org/packages/mirage-config) [![CI](https://github.com/mbierlee/mirage-config/actions/workflows/dub.yml/badge.svg)](https://github.com/mbierlee/mirage-config/actions/workflows/dub.yml)

Toolkit for loading and using application configuration from various formats for the D programming language.

Expand All @@ -15,6 +15,9 @@ Features:
- Internal configuration substitution (Value in config replaced by other path in config);
- Parse configuration from string, JSONValue or from disk.

Requires at least a D 2.097.2 compatible compiler
Uses the Phobos standard library

## Getting started

### DUB Dependency
Expand Down

0 comments on commit c5b203a

Please sign in to comment.