-
Notifications
You must be signed in to change notification settings - Fork 19
64 lines (60 loc) · 1.87 KB
/
windows-vs2022-64bit.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: windows-vs2022-64bit
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@main
- name: clean
run: |
pushd "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build" && call vcvars64.bat && popd
nmake clean
shell: cmd
- name: build
run: |
pushd "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build" && call vcvars64.bat && popd
nmake
nmake shared
shell: cmd
- name: build g++-11
run: |
utilities\\make
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: admb_vs2022
path: build\\admb
- name: debug
run: |
pushd "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build" && call vcvars64.bat && popd
nmake DEBUG=yes
nmake shared DEBUG=yes
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: admb_vs2022_debug
path: build\\admb
- name: gtests
run: |
pushd "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build" && call vcvars64.bat && popd
nmake
working-directory: tests\\gtests
shell: cmd
- name: tests
run: |
pushd "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build" && call vcvars64.bat && popd
pushd tests && nmake examples && popd
pushd tests && nmake outputs.txt && popd
shell: cmd
- name: Artifact
uses: actions/upload-artifact@v1
with:
name: outputs
path: outputs.txt
- name: analyze
run: |
pushd "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build" && call vcvars64.bat && popd
pushd src && nmake CXXFLAGS=/analyze DEBUG=yes objects && popd
shell: cmd