forked from solidi/vhlt
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (50 loc) · 1.21 KB
/
.github.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
name: build
on: [push, pull_request]
jobs:
linux_build:
runs-on: ubuntu-latest
env:
CXX: g++
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
make -j8
- name: Archive vhlt Linux tools
uses: actions/upload-artifact@v3
with:
name: vhlt-linux-tools
path: ./bin/*
macos_build:
runs-on: macos-latest
env:
CXX: clang++
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
make -j8
- name: Archive vhlt macOS tools
uses: actions/upload-artifact@v3
with:
name: vhlt-macos-tools
path: ./bin/*
windows_build:
runs-on: windows-latest
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release
steps:
- uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build vhlt Windows tools
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
- name: Archive vhlt Windows tools
uses: actions/upload-artifact@v3
with:
name: vhlt-windows-tools
path: D:\a\vhlt\bin\*