mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-29 21:30:18 +02:00
ci: use cmake workflow presets
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
9131f79cc0
commit
70500af2a2
89
.github/workflows/build.yml
vendored
89
.github/workflows/build.yml
vendored
@ -53,6 +53,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
|
cmake_preset: linux
|
||||||
qt_ver: 6
|
qt_ver: 6
|
||||||
qt_host: linux
|
qt_host: linux
|
||||||
qt_arch: ""
|
qt_arch: ""
|
||||||
@ -64,11 +65,13 @@ jobs:
|
|||||||
|
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
name: "Windows-MinGW-w64"
|
name: "Windows-MinGW-w64"
|
||||||
|
cmake_preset: windows_mingw
|
||||||
msystem: clang64
|
msystem: clang64
|
||||||
vcvars_arch: "amd64_x86"
|
vcvars_arch: "amd64_x86"
|
||||||
|
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
name: "Windows-MSVC"
|
name: "Windows-MSVC"
|
||||||
|
cmake_preset: windows_msvc
|
||||||
msystem: ""
|
msystem: ""
|
||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
vcvars_arch: "amd64"
|
vcvars_arch: "amd64"
|
||||||
@ -82,6 +85,7 @@ jobs:
|
|||||||
|
|
||||||
- os: windows-2022
|
- os: windows-2022
|
||||||
name: "Windows-MSVC-arm64"
|
name: "Windows-MSVC-arm64"
|
||||||
|
cmake_preset: windows_msvc_arm64_cross
|
||||||
msystem: ""
|
msystem: ""
|
||||||
architecture: "arm64"
|
architecture: "arm64"
|
||||||
vcvars_arch: "amd64_arm64"
|
vcvars_arch: "amd64_arm64"
|
||||||
@ -95,6 +99,7 @@ jobs:
|
|||||||
|
|
||||||
- os: macos-14
|
- os: macos-14
|
||||||
name: macOS
|
name: macOS
|
||||||
|
cmake_preset: ${{ inputs.build_type == 'Debug' && 'macos_universal' || 'macos' }}
|
||||||
macosx_deployment_target: 11.0
|
macosx_deployment_target: 11.0
|
||||||
qt_ver: 6
|
qt_ver: 6
|
||||||
qt_host: mac
|
qt_host: mac
|
||||||
@ -275,75 +280,30 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: "temurin"
|
distribution: "temurin"
|
||||||
java-version: "17"
|
java-version: "17"
|
||||||
|
|
||||||
##
|
##
|
||||||
# CONFIGURE
|
# SOURCE BUILD
|
||||||
##
|
##
|
||||||
|
|
||||||
- name: Configure CMake (macOS)
|
- name: Run CMake workflow
|
||||||
if: runner.os == 'macOS'
|
if: ${{ runner.os != 'Windows' || matrix.msystem == '' }}
|
||||||
|
shell: bash
|
||||||
|
env:
|
||||||
|
CMAKE_PRESET: ${{ matrix.cmake_preset }}
|
||||||
|
PRESET_TYPE: ${{ inputs.build_type == 'Debug' && 'debug' || 'ci' }}
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_ENABLE_JAVA_DOWNLOADER=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -G Ninja
|
cmake --workflow --preset "$CMAKE_PRESET"_"$PRESET_TYPE"
|
||||||
|
|
||||||
- name: Configure CMake (Windows MinGW-w64)
|
# NOTE: Split due to the `shell` requirement for msys2
|
||||||
if: runner.os == 'Windows' && matrix.msystem != ''
|
# TODO(@getchoo): Get ccache working!
|
||||||
|
- name: Run CMake workflow (Windows MinGW-w64)
|
||||||
|
if: ${{ runner.os == 'Windows' && matrix.msystem != '' }}
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
env:
|
||||||
|
CMAKE_PRESET: ${{ matrix.cmake_preset }}
|
||||||
|
PRESET_TYPE: ${{ inputs.build_type == 'Debug' && 'debug' || 'ci' }}
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_ENABLE_JAVA_DOWNLOADER=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=6 -DCMAKE_OBJDUMP=/mingw64/bin/objdump.exe -DLauncher_BUILD_ARTIFACT=${{ matrix.name }}-Qt${{ matrix.qt_ver }} -G Ninja
|
cmake --workflow --preset "$CMAKE_PRESET"_"$PRESET_TYPE"
|
||||||
|
|
||||||
- name: Configure CMake (Windows MSVC)
|
|
||||||
if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != 'arm64'
|
|
||||||
run: |
|
|
||||||
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_ENABLE_JAVA_DOWNLOADER=ON -DLauncher_BUILD_PLATFORM=official -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" -DLauncher_FORCE_BUNDLED_LIBS=ON -DLauncher_BUILD_ARTIFACT=${{ matrix.name }}-Qt${{ matrix.qt_ver }} -G Ninja
|
|
||||||
|
|
||||||
- name: Configure CMake (Windows MSVC arm64)
|
|
||||||
if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture == 'arm64'
|
|
||||||
run: |
|
|
||||||
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_ENABLE_JAVA_DOWNLOADER=ON -DLauncher_BUILD_PLATFORM=official -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreadedDLL" -A${{ matrix.architecture}} -DLauncher_FORCE_BUNDLED_LIBS=ON -DLauncher_BUILD_ARTIFACT=${{ matrix.name }}-Qt${{ matrix.qt_ver }}
|
|
||||||
|
|
||||||
- name: Configure CMake (Linux)
|
|
||||||
if: runner.os == 'Linux'
|
|
||||||
run: |
|
|
||||||
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_ENABLE_JAVA_DOWNLOADER=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DLauncher_BUILD_ARTIFACT=Linux-Qt${{ matrix.qt_ver }} -G Ninja
|
|
||||||
|
|
||||||
##
|
|
||||||
# BUILD
|
|
||||||
##
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
if: runner.os != 'Windows'
|
|
||||||
run: |
|
|
||||||
cmake --build ${{ env.BUILD_DIR }}
|
|
||||||
|
|
||||||
- name: Build (Windows MinGW-w64)
|
|
||||||
if: runner.os == 'Windows' && matrix.msystem != ''
|
|
||||||
shell: msys2 {0}
|
|
||||||
run: |
|
|
||||||
cmake --build ${{ env.BUILD_DIR }}
|
|
||||||
|
|
||||||
- name: Build (Windows MSVC)
|
|
||||||
if: runner.os == 'Windows' && matrix.msystem == ''
|
|
||||||
run: |
|
|
||||||
cmake --build ${{ env.BUILD_DIR }} --config ${{ inputs.build_type }}
|
|
||||||
|
|
||||||
##
|
|
||||||
# TEST
|
|
||||||
##
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
if: runner.os != 'Windows'
|
|
||||||
run: |
|
|
||||||
ctest -E "^example64|example$" --test-dir build --output-on-failure
|
|
||||||
|
|
||||||
- name: Test (Windows MinGW-w64)
|
|
||||||
if: runner.os == 'Windows' && matrix.msystem != ''
|
|
||||||
shell: msys2 {0}
|
|
||||||
run: |
|
|
||||||
ctest -E "^example64|example$" --test-dir build --output-on-failure
|
|
||||||
|
|
||||||
- name: Test (Windows MSVC)
|
|
||||||
if: runner.os == 'Windows' && matrix.msystem == '' && matrix.architecture != 'arm64'
|
|
||||||
run: |
|
|
||||||
ctest -E "^example64|example$" --test-dir build --output-on-failure -C ${{ inputs.build_type }}
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# PACKAGE BUILDS
|
# PACKAGE BUILDS
|
||||||
@ -542,8 +502,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Package (Linux, portable)
|
- name: Package (Linux, portable)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
env:
|
||||||
|
CMAKE_PRESET: ${{ matrix.cmake_preset }}
|
||||||
|
PRESET_TYPE: ${{ inputs.build_type == 'Debug' && 'debug' || 'ci' }}
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_PORTABLE_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=official -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DLauncher_BUILD_ARTIFACT=Linux-Qt${{ matrix.qt_ver }} -DINSTALL_BUNDLE=full -G Ninja
|
cmake --preset "$CMAKE_PRESET"_"$PRESET_TYPE" -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_PORTABLE_DIR }} -DINSTALL_BUNDLE=full
|
||||||
cmake --install ${{ env.BUILD_DIR }}
|
cmake --install ${{ env.BUILD_DIR }}
|
||||||
cmake --install ${{ env.BUILD_DIR }} --component portable
|
cmake --install ${{ env.BUILD_DIR }} --component portable
|
||||||
|
|
||||||
|
5
.github/workflows/codeql.yml
vendored
5
.github/workflows/codeql.yml
vendored
@ -71,9 +71,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Configure and Build
|
- name: Configure and Build
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -G Ninja
|
cmake --preset linux_debug
|
||||||
|
cmake --build --preset linux_debug
|
||||||
cmake --build build
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v3
|
||||||
|
@ -31,6 +31,17 @@
|
|||||||
"CMAKE_BUILD_TYPE": "Release",
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
"ENABLE_LTO": "ON"
|
"ENABLE_LTO": "ON"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "base_ci",
|
||||||
|
"hidden": true,
|
||||||
|
"inherits": [
|
||||||
|
"base_release"
|
||||||
|
],
|
||||||
|
"cacheVariables": {
|
||||||
|
"Launcher_BUILD_PLATFORM": "official",
|
||||||
|
"Launcher_FORCE_BUNDLED_LIBS": "ON"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"testPresets": [
|
"testPresets": [
|
||||||
|
@ -34,6 +34,18 @@
|
|||||||
"linux_base"
|
"linux_base"
|
||||||
],
|
],
|
||||||
"displayName": "Linux (Release)"
|
"displayName": "Linux (Release)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_ci",
|
||||||
|
"linux_base"
|
||||||
|
],
|
||||||
|
"displayName": "Linux (CI)",
|
||||||
|
"cacheVariables": {
|
||||||
|
"Launcher_BUILD_ARTIFACT": "Linux-Qt6"
|
||||||
|
},
|
||||||
|
"installDir": "/usr"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"buildPresets": [
|
"buildPresets": [
|
||||||
@ -61,6 +73,14 @@
|
|||||||
],
|
],
|
||||||
"displayName": "Linux (Release)",
|
"displayName": "Linux (Release)",
|
||||||
"configurePreset": "linux_release"
|
"configurePreset": "linux_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux_ci",
|
||||||
|
"inherits": [
|
||||||
|
"linux_base"
|
||||||
|
],
|
||||||
|
"displayName": "Linux (CI)",
|
||||||
|
"configurePreset": "linux_ci"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"testPresets": [
|
"testPresets": [
|
||||||
@ -90,6 +110,71 @@
|
|||||||
],
|
],
|
||||||
"displayName": "Linux (Release)",
|
"displayName": "Linux (Release)",
|
||||||
"configurePreset": "linux_release"
|
"configurePreset": "linux_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_release",
|
||||||
|
"linux_base"
|
||||||
|
],
|
||||||
|
"displayName": "Linux (CI)",
|
||||||
|
"configurePreset": "linux_ci"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"workflowPresets": [
|
||||||
|
{
|
||||||
|
"name": "linux_debug",
|
||||||
|
"displayName": "Linux (Debug)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "linux_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "linux_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "linux_debug"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux",
|
||||||
|
"displayName": "Linux (Release)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "linux_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "linux_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "linux_release"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "linux_ci",
|
||||||
|
"displayName": "Linux (CI)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "linux_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "linux_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "linux_ci"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -57,6 +57,17 @@
|
|||||||
"macos_universal_base"
|
"macos_universal_base"
|
||||||
],
|
],
|
||||||
"displayName": "macOS (Universal Binary, Release)"
|
"displayName": "macOS (Universal Binary, Release)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_ci",
|
||||||
|
"macos_universal_base"
|
||||||
|
],
|
||||||
|
"displayName": "macOS (CI)",
|
||||||
|
"cacheVariables": {
|
||||||
|
"Launcher_BUILD_ARTIFACT": "macOS-Qt6"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"buildPresets": [
|
"buildPresets": [
|
||||||
@ -100,6 +111,14 @@
|
|||||||
],
|
],
|
||||||
"displayName": "macOS (Universal Binary, Release)",
|
"displayName": "macOS (Universal Binary, Release)",
|
||||||
"configurePreset": "macos_universal_release"
|
"configurePreset": "macos_universal_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos_ci",
|
||||||
|
"inherits": [
|
||||||
|
"macos_base"
|
||||||
|
],
|
||||||
|
"displayName": "macOS (CI)",
|
||||||
|
"configurePreset": "macos_ci"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"testPresets": [
|
"testPresets": [
|
||||||
@ -147,6 +166,107 @@
|
|||||||
],
|
],
|
||||||
"displayName": "macOS (Universal Binary, Release)",
|
"displayName": "macOS (Universal Binary, Release)",
|
||||||
"configurePreset": "macos_universal_release"
|
"configurePreset": "macos_universal_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_release",
|
||||||
|
"macos_base"
|
||||||
|
],
|
||||||
|
"displayName": "macOS (CI)",
|
||||||
|
"configurePreset": "macos_ci"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"workflowPresets": [
|
||||||
|
{
|
||||||
|
"name": "macos_debug",
|
||||||
|
"displayName": "macOS (Debug)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "macos_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "macos_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "macos_debug"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos",
|
||||||
|
"displayName": "macOS (Release)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "macos_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "macos_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "macos_release"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos_universal_debug",
|
||||||
|
"displayName": "macOS (Universal Binary, Debug)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "macos_universal_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "macos_universal_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "macos_universal_debug"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos_universal",
|
||||||
|
"displayName": "macOS (Universal Binary, Release)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "macos_universal_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "macos_universal_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "macos_universal_release"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "macos_ci",
|
||||||
|
"displayName": "macOS (CI)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "macos_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "macos_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "macos_ci"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -60,6 +60,28 @@
|
|||||||
"windows_msvc_arm64_cross_base"
|
"windows_msvc_arm64_cross_base"
|
||||||
],
|
],
|
||||||
"displayName": "Windows MSVC (ARM64 cross, Release)"
|
"displayName": "Windows MSVC (ARM64 cross, Release)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_ci",
|
||||||
|
"windows_msvc_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MSVC (CI)",
|
||||||
|
"cacheVariables": {
|
||||||
|
"Launcher_BUILD_ARTIFACT": "Windows-MSVC-Qt6"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_arm64_cross_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_ci",
|
||||||
|
"windows_msvc_arm64_cross_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MSVC (ARM64 cross, CI)",
|
||||||
|
"cacheVariables": {
|
||||||
|
"Launcher_BUILD_ARTIFACT": "Windows-MSVC-arm64-Qt6"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"buildPresets": [
|
"buildPresets": [
|
||||||
@ -119,6 +141,32 @@
|
|||||||
"/p:UseMultiToolTask=true",
|
"/p:UseMultiToolTask=true",
|
||||||
"/p:EnforceProcessCountAcrossBuilds=true"
|
"/p:EnforceProcessCountAcrossBuilds=true"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_ci",
|
||||||
|
"inherits": [
|
||||||
|
"windows_msvc_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MSVC (CI)",
|
||||||
|
"configurePreset": "windows_msvc_ci",
|
||||||
|
"configuration": "Release",
|
||||||
|
"nativeToolOptions": [
|
||||||
|
"/p:UseMultiToolTask=true",
|
||||||
|
"/p:EnforceProcessCountAcrossBuilds=true"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_arm64_cross_ci",
|
||||||
|
"inherits": [
|
||||||
|
"windows_msvc_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MSVC (ARM64 cross, CI)",
|
||||||
|
"configurePreset": "windows_msvc_arm64_cross_ci",
|
||||||
|
"configuration": "Release",
|
||||||
|
"nativeToolOptions": [
|
||||||
|
"/p:UseMultiToolTask=true",
|
||||||
|
"/p:EnforceProcessCountAcrossBuilds=true"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"testPresets": [
|
"testPresets": [
|
||||||
@ -150,6 +198,114 @@
|
|||||||
"displayName": "Windows MSVC (Release)",
|
"displayName": "Windows MSVC (Release)",
|
||||||
"configurePreset": "windows_msvc_release",
|
"configurePreset": "windows_msvc_release",
|
||||||
"configuration": "Release"
|
"configuration": "Release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_release",
|
||||||
|
"windows_msvc_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MSVC (CI)",
|
||||||
|
"configurePreset": "windows_msvc_ci",
|
||||||
|
"configuration": "Release"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"workflowPresets": [
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_debug",
|
||||||
|
"displayName": "Windows MSVC (Debug)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_msvc_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_msvc_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "windows_msvc_debug"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc",
|
||||||
|
"displayName": "Windows MSVC (Release)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_msvc_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_msvc_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "windows_msvc_release"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_arm64_cross_debug",
|
||||||
|
"displayName": "Windows MSVC (ARM64 cross, Debug)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_msvc_arm64_cross_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_msvc_arm64_cross_debug"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_arm64_cross",
|
||||||
|
"displayName": "Windows MSVC (ARM64 cross, Release)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_msvc_arm64_cross_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_msvc_arm64_cross_release"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_ci",
|
||||||
|
"displayName": "Windows MSVC (CI)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_msvc_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_msvc_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "windows_msvc_ci"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_msvc_arm64_cross_ci",
|
||||||
|
"displayName": "Windows MSVC (ARM64 cross, CI)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_msvc_arm64_cross_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_msvc_arm64_cross_ci"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,17 @@
|
|||||||
"windows_mingw_base"
|
"windows_mingw_base"
|
||||||
],
|
],
|
||||||
"displayName": "Windows MinGW (Release)"
|
"displayName": "Windows MinGW (Release)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_mingw_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_ci",
|
||||||
|
"windows_mingw_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MinGW (CI)",
|
||||||
|
"cacheVariables": {
|
||||||
|
"Launcher_BUILD_ARTIFACT": "Windows-MinGW-w64-Qt6"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"buildPresets": [
|
"buildPresets": [
|
||||||
@ -60,6 +71,14 @@
|
|||||||
],
|
],
|
||||||
"displayName": "Windows MinGW (Release)",
|
"displayName": "Windows MinGW (Release)",
|
||||||
"configurePreset": "windows_mingw_release"
|
"configurePreset": "windows_mingw_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_mingw_ci",
|
||||||
|
"inherits": [
|
||||||
|
"windows_mingw_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MinGW (CI)",
|
||||||
|
"configurePreset": "windows_mingw_ci"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"testPresets": [
|
"testPresets": [
|
||||||
@ -94,6 +113,71 @@
|
|||||||
],
|
],
|
||||||
"displayName": "Windows MinGW (Release)",
|
"displayName": "Windows MinGW (Release)",
|
||||||
"configurePreset": "windows_mingw_release"
|
"configurePreset": "windows_mingw_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_mingw_ci",
|
||||||
|
"inherits": [
|
||||||
|
"base_release",
|
||||||
|
"windows_mingw_base"
|
||||||
|
],
|
||||||
|
"displayName": "Windows MinGW (CI)",
|
||||||
|
"configurePreset": "windows_mingw_ci"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"workflowPresets": [
|
||||||
|
{
|
||||||
|
"name": "windows_mingw_debug",
|
||||||
|
"displayName": "Windows MinGW (Debug)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_mingw_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_mingw_debug"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "windows_mingw_debug"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_mingw",
|
||||||
|
"displayName": "Windows MinGW (Release)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_mingw_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_mingw_release"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "windows_mingw_release"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "windows_mingw_ci",
|
||||||
|
"displayName": "Windows MinGW (CI)",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"type": "configure",
|
||||||
|
"name": "windows_mingw_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "build",
|
||||||
|
"name": "windows_mingw_ci"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "test",
|
||||||
|
"name": "windows_mingw_ci"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user