libragephoto/.github/workflows/windows-cxx.yml

35 lines
970 B
YAML
Raw Permalink Normal View History

name: Windows CXX
on: push
jobs:
Release:
runs-on: windows-latest
env:
BUILD_TYPE: Release
strategy:
matrix:
arch:
- amd64
- amd64_x86
- amd64_arm64
steps:
2024-12-08 21:55:03 +01:00
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{matrix.arch}}
- name: Configure CMake
2024-01-19 08:19:50 +01:00
run: cmake -B ${{github.workspace}}/build -DRAGEPHOTO_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DRAGEPHOTO_UNICODE=wincvt -GNinja
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
2021-12-01 09:04:10 +01:00
- name: Install
run: cmake --install ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --prefix ${{github.workspace}}/install
2021-12-01 09:04:10 +01:00
- name: Upload
2024-12-08 21:55:03 +01:00
uses: actions/upload-artifact@v4
2021-12-01 09:04:10 +01:00
with:
name: Windows MSVC ${{matrix.arch}}
2021-12-01 09:04:10 +01:00
path: |
${{github.workspace}}/install/