-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (27 loc) · 981 Bytes
/
gdc-old.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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