Browse Source

windows.yml: add Windows MSVC cross compile

master
Syping 7 months ago
parent
commit
930897cf97
  1. 12
      .github/workflows/windows.yml

12
.github/workflows/windows.yml

@ -7,13 +7,21 @@ jobs:
runs-on: windows-latest
env:
BUILD_TYPE: Release
strategy:
matrix:
arch:
- amd64
- amd64_x86
- amd64_arm64
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: ilammy/[email protected]
with:
arch: ${{matrix.arch}}
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -GNinja
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DRAGEPHOTO_UNICODE=wincvt -GNinja
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Install
@ -21,6 +29,6 @@ jobs:
- name: Upload
uses: actions/[email protected]
with:
name: Windows MSVC
name: Windows MSVC ${{matrix.arch}}
path: |
${{github.workspace}}/install/

Loading…
Cancel
Save