|
|
|
@ -9,8 +9,10 @@ jobs: |
|
|
|
fail-fast: false |
|
|
|
fail-fast: false |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
config: |
|
|
|
config: |
|
|
|
- { os: windows-2022, platform: x86, 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, 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 : Debug, vs: "Program Files/Microsoft Visual Studio/2022" } |
|
|
|
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.config.os }} |
|
|
|
runs-on: ${{ matrix.config.os }} |
|
|
|
|
|
|
|
|
|
|
|
@ -19,6 +21,7 @@ jobs: |
|
|
|
CXX: ${{ matrix.config.cxx }} |
|
|
|
CXX: ${{ matrix.config.cxx }} |
|
|
|
VS_VERSION: ${{ matrix.config.vs }} |
|
|
|
VS_VERSION: ${{ matrix.config.vs }} |
|
|
|
PLATFORM: ${{ matrix.config.platform }} |
|
|
|
PLATFORM: ${{ matrix.config.platform }} |
|
|
|
|
|
|
|
CONFIGURATION: ${{ matrix.config.configuration }} |
|
|
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true |
|
|
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: true |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
@ -51,16 +54,16 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
- name: Build LLVM |
|
|
|
- name: Build LLVM |
|
|
|
shell: bash |
|
|
|
shell: bash |
|
|
|
run: build/build.sh build_llvm -platform $PLATFORM |
|
|
|
run: build/build.sh build_llvm -platform $PLATFORM -configuration $CONFIGURATION |
|
|
|
working-directory: C:\CppSharp |
|
|
|
working-directory: C:\CppSharp |
|
|
|
|
|
|
|
|
|
|
|
- name: Package LLVM |
|
|
|
- name: Package LLVM |
|
|
|
shell: bash |
|
|
|
shell: bash |
|
|
|
run: build/build.sh package_llvm -platform $PLATFORM |
|
|
|
run: build/build.sh package_llvm -platform $PLATFORM -configuration $CONFIGURATION |
|
|
|
working-directory: C:\CppSharp |
|
|
|
working-directory: C:\CppSharp |
|
|
|
|
|
|
|
|
|
|
|
- name: 'Upload Artifact' |
|
|
|
- name: 'Upload Artifact' |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: llvm |
|
|
|
name: llvm |
|
|
|
path: C:\CppSharp\build\llvm\llvm-*-*.* |
|
|
|
path: C:\CppSharp\build\llvm\llvm-*-*.* |
|
|
|
|