Skip to content

Commit fe879b1

Browse files
authored
Use LDC
1 parent 2fb1633 commit fe879b1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
submodules: recursive
16-
16+
17+
- uses: dlang-community/setup-dlang@v1
18+
with:
19+
compiler: ldc-1.34.0
20+
1721
- name: Install dependencies
1822
run: |
1923
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
20-
sudo apt-get update && sudo apt-get install -y gdc dub libz-dev elfutils
24+
sudo apt-get update && sudo apt-get install -y libz-dev elfutils
2125
2226
- name: Build
23-
run: dub build :anisette-server -b release --compiler=gdc -c "static"
27+
run: dub build :anisette-server -b release -c "static"
2428

2529
- name: Rename
2630
run: mv "${{github.workspace}}/bin/provision_anisette-server" "${{github.workspace}}/bin/anisette-server-x86_64"

0 commit comments

Comments
 (0)