Skip to content

Commit

Permalink
Use LDC
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum authored Jul 17, 2024
1 parent 2fb1633 commit fe879b1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive


- uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-1.34.0

- name: Install dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt-get update && sudo apt-get install -y gdc dub libz-dev elfutils
sudo apt-get update && sudo apt-get install -y libz-dev elfutils
- name: Build
run: dub build :anisette-server -b release --compiler=gdc -c "static"
run: dub build :anisette-server -b release -c "static"

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

0 comments on commit fe879b1

Please sign in to comment.