fix plist data and version (#1488) #616
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: windows | |
on: | |
push: | |
branches: | |
- dev | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
jobs: | |
win32: | |
# The CMake configure and build commands are platform agnostic and should work equally | |
# well on Windows or Mac. You can convert this to a matrix build if you need | |
# cross-platform coverage. | |
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- uses: ilammy/[email protected] | |
with: | |
toolset: '14.37' | |
arch: 'x64' | |
- name: Build | |
shell: pwsh | |
run: .\build.ps1 -p win32 -a x64 | |
win32-dll: | |
# The CMake configure and build commands are platform agnostic and should work equally | |
# well on Windows or Mac. You can convert this to a matrix build if you need | |
# cross-platform coverage. | |
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- uses: ilammy/[email protected] | |
with: | |
toolset: '14.37' | |
arch: 'x64' | |
- name: Build | |
shell: pwsh | |
run: .\build.ps1 -p win32 -a x64 -dll true | |
winuwp: | |
# The CMake configure and build commands are platform agnostic and should work equally | |
# well on Windows or Mac. You can convert this to a matrix build if you need | |
# cross-platform coverage. | |
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix | |
# build uwp debug avoid github CI fail with memory issue | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- uses: ilammy/[email protected] | |
with: | |
toolset: '14.37' | |
arch: 'x64' | |
uwp: true | |
- name: Build | |
shell: pwsh | |
run: .\build.ps1 -p winuwp -a x64 -xb '--config','Debug' | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: x64 | |
path: | | |
build_*/tests/**/AppPackages/**/*.msix | |
win32-clang: | |
# The CMake configure and build commands are platform agnostic and should work equally | |
# well on Windows or Mac. You can convert this to a matrix build if you need | |
# cross-platform coverage. | |
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#configuring-a-build-matrix | |
runs-on: windows-latest | |
env: | |
# Test winsdk < 10.0.22000.0 (missing C11 standard stdalign.h), axmol will auto fallback to C99 for resolving compiling issue. | |
WINSDK_VER: '10.0.19041.0' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@v1 | |
with: | |
version: "16.0" | |
- name: Build | |
shell: pwsh | |
run: .\build.ps1 -p win32 -a 'x64' -cc clang -winsdk $env:WINSDK_VER |