-
Notifications
You must be signed in to change notification settings - Fork 22
42 lines (35 loc) · 1.07 KB
/
build.yml
File metadata and controls
42 lines (35 loc) · 1.07 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
39
40
41
42
name: build-artefacts
on:
push:
pull_request:
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
include:
- arch: x86
triplet: x86-windows
preset: x86-release
- arch: x64
triplet: x64-windows
preset: x64-release
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up vcpkg
uses: lukka/run-vcpkg@v11
- name: CMake configure (${{ matrix.preset }})
run: cmake --preset ${{ matrix.preset }}
env:
VCPKG_DEFAULT_TRIPLET: ${{ matrix.triplet }}
- name: CMake build (${{ matrix.preset }})
run: cmake --build --preset ${{ matrix.preset }} --config Release --parallel
- name: Upload artifacts (${{ matrix.arch }})
uses: actions/upload-artifact@v4
with:
name: pipetap-${{ matrix.arch }}-Release
path: |
out/build/${{ matrix.preset }}/bin/Release/pipetap-gui.exe
out/build/${{ matrix.preset }}/bin/Release/pipetap-dll.dll