-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1.52 KB
/
Copy pathwindows_build.yml
File metadata and controls
38 lines (33 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: FileArb
on: push
jobs:
build:
runs-on: windows-2025-vs2026
strategy:
matrix:
cmake_build_type: [Debug, RelWithDebInfo]
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: dawidd6/action-download-artifact@v9
with:
repo: NeilJustice/WindowsCPlusPlusBuilder
github_token: ${{ secrets.WINDOWSCPLUSPLUSBUILDER_READ_PAT }}
workflow_search: true
workflow_conclusion: success
name: WindowsCPlusPlusBuilder
use_unzip: true
path: WindowsCPlusPlusBuilder/
- name: Download ZenUnit.h and MetalMock.h
run: |
curl https://raw.githubusercontent.com/NeilJustice/ZenUnitAndMetalMock/main/ZenUnitAndMetalMock/ZenUnit.h --create-dirs -o "C:\include\ZenUnitAndMetalMock\ZenUnitAndMetalMock\ZenUnit.h"
curl https://raw.githubusercontent.com/NeilJustice/ZenUnitAndMetalMock/main/ZenUnitAndMetalMock/MetalMock.h --create-dirs -o "C:\include\ZenUnitAndMetalMock\ZenUnitAndMetalMock\MetalMock.h"
- uses: ilammy/msvc-dev-cmd@v1 # Places MSBuild.exe on the PATH, which is invoked by WindowsCPlusPlusBuilder.exe
- name: Run WindowsCPlusPlusBuilder
run: |
WindowsCPlusPlusBuilder/WindowsCPlusPlusBuilder.exe build-cpp-solution `
--solution-name=FileArb `
--configuration="${{ matrix.cmake_build_type }}" `
--cmake-definitions="" `
--install=false