-
Notifications
You must be signed in to change notification settings - Fork 29
47 lines (41 loc) · 1.22 KB
/
generate-tools-bin.yaml
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
43
44
45
46
47
name: "Tool binaries"
on:
push:
branches:
- master
release:
# pull_request: # ^ for testing
jobs:
build_tools_win32:
name: Build all binaries for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
# os: [ubuntu-latest, macos-latest, windows-latest]
include:
- os: windows-latest
triplet: x64-windows
# - os: ubuntu-latest
# triplet: x64-linux
# - os: macos-latest
# triplet: x64-osx
steps:
- name: Get pushed code
uses: actions/checkout@v3
- uses: lukka/get-cmake@latest
- name: Configure CMake
run: cmake -S . -B _build
- name: Build Release
run: cmake --build _build --config Release --parallel
- name: Generate mkclean artifacts
uses: actions/upload-artifact@v3
with:
name: mkclean-${{ matrix.os }}
path: _build/mkclean/pkg_bin
- name: Generate mkvalidator artifacts
uses: actions/upload-artifact@v3
with:
name: mkvalidator-${{ matrix.os }}
path: _build/mkvalidator/pkg_bin