Skip to content

Feature/Migrate to CPM #135

Feature/Migrate to CPM

Feature/Migrate to CPM #135

Workflow file for this run

on: [ push, pull_request ]
jobs:
build:
if: ${{github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository)}}
runs-on: windows-2022
strategy:
matrix:
arch: [ x64, Win32 ]
include:
- arch: x64
triplet: x64-windows
- arch: Win32
triplet: x86-windows
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build
run: |
cmake -B build-${{matrix.arch}} -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=${{matrix.triplet}}
cmake --build build-${{matrix.arch}} --config Release --parallel
- name: Upload artifacts
uses: actions/[email protected]
with:
name: ${{github.event.repository.name}}-${{matrix.arch}}
path: build-${{matrix.arch}}/Release/*