-
Notifications
You must be signed in to change notification settings - Fork 2
46 lines (37 loc) · 1.04 KB
/
windows-x64.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
35
36
37
38
39
40
41
42
43
44
45
46
name: Windows (x64)
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Bind MSVC problem matcher
uses: ammaraskar/msvc-problem-matcher@master
- name: Make
run: msbuild /m /p:Configuration=Debug-MSVC /p:Platform=x64 .vs\deemon-v142.sln
- name: Test
run: ${{ github.workspace }}\deemon.exe util\test.dee
- name: Prepare lib folder for artifact
shell: bash
run: |
find "lib" -name '*.dec' -delete
find "lib" -name '.gitignore' -delete
unlink lib/LANGUAGE.txt || true
- name: Save executable as artifact
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-${{ github.sha }}-build-x64
if-no-files-found: ignore
path: |
deemon.*
lib