9
9
fail-fast : false
10
10
matrix :
11
11
config :
12
- - { os: windows-2022, platform: x86, vs: "Program Files/Microsoft Visual Studio/2022" }
13
- - { os: windows-2022, platform: x64, vs: "Program Files/Microsoft Visual Studio/2022" }
12
+ - { os: windows-2022, platform: x86, configuration : Debug, vs: "Program Files/Microsoft Visual Studio/2022" }
13
+ - { os: windows-2022, platform: x64, configuration : Debug, vs: "Program Files/Microsoft Visual Studio/2022" }
14
+ - { os: windows-2022, platform: x86, configuration : Release, vs: "Program Files/Microsoft Visual Studio/2022" }
15
+ - { os: windows-2022, platform: x64, configuration : Release, vs: "Program Files/Microsoft Visual Studio/2022" }
16
+ - { os: windows-2022, platform: x86, configuration : RelWithDebInfo, vs: "Program Files/Microsoft Visual Studio/2022" }
17
+ - { os: windows-2022, platform: x64, configuration : RelWithDebInfo, vs: "Program Files/Microsoft Visual Studio/2022" }
14
18
15
19
runs-on : ${{ matrix.config.os }}
16
20
19
23
CXX : ${{ matrix.config.cxx }}
20
24
VS_VERSION : ${{ matrix.config.vs }}
21
25
PLATFORM : ${{ matrix.config.platform }}
26
+ CONFIGURATION : ${{ matrix.config.configuration }}
22
27
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
23
28
24
29
steps :
@@ -51,16 +56,16 @@ jobs:
51
56
52
57
- name : Build LLVM
53
58
shell : bash
54
- run : build/build.sh build_llvm -platform $PLATFORM
59
+ run : build/build.sh build_llvm -platform $PLATFORM -configuration $CONFIGURATION
55
60
working-directory : C:\CppSharp
56
61
57
62
- name : Package LLVM
58
63
shell : bash
59
- run : build/build.sh package_llvm -platform $PLATFORM
64
+ run : build/build.sh package_llvm -platform $PLATFORM -configuration $CONFIGURATION
60
65
working-directory : C:\CppSharp
61
66
62
67
- name : ' Upload Artifact'
63
68
uses : actions/upload-artifact@v3
64
69
with :
65
70
name : llvm
66
- path : C:\CppSharp\build\llvm\llvm-*-*.*
71
+ path : C:\CppSharp\build\llvm\llvm-*-*.*
0 commit comments