Browse Source

Build llvm `Debug`/`Release` for `Windows`. (#1800)

* Update llvm-win.yml

* Update llvm-win.yml

* Update llvm-win.yml
pull/1811/head
deadlocklogic 3 years ago committed by GitHub
parent
commit
12112720f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      .github/workflows/llvm-win.yml

13
.github/workflows/llvm-win.yml

@ -9,8 +9,12 @@ jobs: @@ -9,8 +9,12 @@ jobs:
fail-fast: false
matrix:
config:
- { os: windows-2022, platform: x86, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x64, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x86, configuration : Debug, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x64, configuration : Debug, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x86, configuration : Release, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x64, configuration : Release, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x86, configuration : RelWithDebInfo, vs: "Program Files/Microsoft Visual Studio/2022" }
- { os: windows-2022, platform: x64, configuration : RelWithDebInfo, vs: "Program Files/Microsoft Visual Studio/2022" }
runs-on: ${{ matrix.config.os }}
@ -19,6 +23,7 @@ jobs: @@ -19,6 +23,7 @@ jobs:
CXX: ${{ matrix.config.cxx }}
VS_VERSION: ${{ matrix.config.vs }}
PLATFORM: ${{ matrix.config.platform }}
CONFIGURATION: ${{ matrix.config.configuration }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
@ -51,12 +56,12 @@ jobs: @@ -51,12 +56,12 @@ jobs:
- name: Build LLVM
shell: bash
run: build/build.sh build_llvm -platform $PLATFORM
run: build/build.sh build_llvm -platform $PLATFORM -configuration $CONFIGURATION
working-directory: C:\CppSharp
- name: Package LLVM
shell: bash
run: build/build.sh package_llvm -platform $PLATFORM
run: build/build.sh package_llvm -platform $PLATFORM -configuration $CONFIGURATION
working-directory: C:\CppSharp
- name: 'Upload Artifact'

Loading…
Cancel
Save