Fix Issue #136. #324
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
name: gdc-old | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Dub Tests | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
dc: | |
- ldc-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: Install DUB | |
run: | | |
wget https://github.com/dlang/dub/releases/download/v1.23.0/dub-v1.23.0-linux-x86_64.tar.gz | |
tar xvf dub-v1.23.0-linux-x86_64.tar.gz | |
- name: Install GDC | |
run: sudo apt install gdc | |
- name: Vanilla unittest | |
run: ./dub test -a x86_64 --compiler gdc | |
- name: Optimized unittest | |
run: ./dub test -a x86_64 --compiler gdc -b unittest-release |