-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
34 lines (26 loc) · 976 Bytes
/
cmake-windows.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: Windows build
on: push
env:
BUILD_TYPE: Release
jobs:
build-anisette-server-windows-x86_64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-latest
- name: Build
run: dub build :anisette-server -b release-debug -c "static"
- name: Rename
run: |
mv "${{github.workspace}}/bin/provision_anisette-server.exe" "${{github.workspace}}/bin/anisette-server-windows-x86_64.exe"
mv "${{github.workspace}}/bin/provision_anisette-server.pdb" "${{github.workspace}}/bin/anisette-server-windows-x86_64.pdb"
- uses: actions/upload-artifact@v3
with:
name: anisette-server-windows-x86_64
path: |
${{github.workspace}}/bin/anisette-server-windows-x86_64.exe
${{github.workspace}}/bin/anisette-server-windows-x86_64.pdb