comparison foosdk/.github/workflows/build.yml @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
comparison
equal deleted inserted replaced
0:e9bb126753e7 1:20d02a178406
1 name: build
2
3 on:
4
5 push:
6 branches:
7 - master
8
9 pull_request:
10 branches:
11 - master
12
13 jobs:
14
15 build:
16
17 runs-on: windows-2022
18
19 defaults:
20 run:
21 shell: cmd
22
23 strategy:
24 matrix:
25 arch:
26 - Win32
27 - x64
28
29 steps:
30 - name: Set git to use LF
31 run: |
32 git config --global core.autocrlf false
33 git config --global core.eol lf
34
35 - name: Checkout
36 uses: actions/checkout@v4
37
38 - name: Setup MSVC
39 uses: ilammy/msvc-dev-cmd@v1
40 with:
41 arch: ${{ matrix.arch }}
42
43 - name: Build
44 run: |
45 mkdir build
46 cd build
47 cmake -A ${{ matrix.arch }} -DFOO_SAMPLE=ON ..
48 msbuild -v:m -p:Configuration=Release -p:Platform=${{ matrix.arch }} foosdk.sln