Skip to content

Commit

Permalink
Update CI for more compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
ShigekiKarita committed May 2, 2020
1 parent 0acac2e commit ec23537
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ jobs:
fail-fast: false
max-parallel: 20
matrix:
compiler: [dmd, ldc]
compiler: [dmd, ldc, dmd-beta, ldc-beta]

steps:
- uses: actions/checkout@v1
with:
submodules: true
- name: install

- name: apt
run: |
sudo apt-get update -qq
sudo apt-get install -qq -y gcc wget protobuf-compiler libprotobuf-dev libprotoc-dev libclang-6.0-dev
sudo ln -sf /usr/lib/x86_64-linux-gnu/libclang-6.0.so /usr/lib/libclang.so
- name: test
- name: make
run: |
source $(curl https://dlang.org/install.sh | bash -s -- ${{ matrix.compiler }} -a)
dub fetch dpp
make -j
- name: test
run: |
source $(curl https://dlang.org/install.sh | bash -s -- ${{ matrix.compiler }} -a)
make test
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
DC := dmd
PROTOC_VERSION := 1.3.3

.PHONY: all clean
Expand Down Expand Up @@ -41,4 +40,5 @@ clean:
rm -rfv generated

test: all
LIBRARY_PATH=`pwd`/download/lib dub test --parallel --compiler=$(DC)
LIBRARY_PATH=`pwd`/download/lib dub test --parallel

0 comments on commit ec23537

Please sign in to comment.