Skip to content

Commit 1211272

Browse files
Build llvm Debug/Release for Windows. (#1800)
* Update llvm-win.yml * Update llvm-win.yml * Update llvm-win.yml
1 parent 12c267d commit 1211272

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/llvm-win.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
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" }
1418

1519
runs-on: ${{ matrix.config.os }}
1620

@@ -19,6 +23,7 @@ jobs:
1923
CXX: ${{ matrix.config.cxx }}
2024
VS_VERSION: ${{ matrix.config.vs }}
2125
PLATFORM: ${{ matrix.config.platform }}
26+
CONFIGURATION: ${{ matrix.config.configuration }}
2227
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
2328

2429
steps:
@@ -51,16 +56,16 @@ jobs:
5156

5257
- name: Build LLVM
5358
shell: bash
54-
run: build/build.sh build_llvm -platform $PLATFORM
59+
run: build/build.sh build_llvm -platform $PLATFORM -configuration $CONFIGURATION
5560
working-directory: C:\CppSharp
5661

5762
- name: Package LLVM
5863
shell: bash
59-
run: build/build.sh package_llvm -platform $PLATFORM
64+
run: build/build.sh package_llvm -platform $PLATFORM -configuration $CONFIGURATION
6065
working-directory: C:\CppSharp
6166

6267
- name: 'Upload Artifact'
6368
uses: actions/upload-artifact@v3
6469
with:
6570
name: llvm
66-
path: C:\CppSharp\build\llvm\llvm-*-*.*
71+
path: C:\CppSharp\build\llvm\llvm-*-*.*

0 commit comments

Comments
 (0)