-
Notifications
You must be signed in to change notification settings - Fork 9
54 lines (50 loc) · 1.37 KB
/
build.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
name: Build Project
on:
- push
- pull_request
jobs:
windows:
name: Windows Server 2019
runs-on: windows-2019
steps:
- name: GitHub repository checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure and Build sources
run: |
mkdir build && cd build
cmake .. -DTESTING_EXIT_CODE=0
cmake --build . --config Release
- name: Run Virtual machine
run: .\build\Release\ruc-vm.exe
ubuntu:
name: Ubuntu 20.04
runs-on: ubuntu-20.04
steps:
- name: GitHub repository checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure and Build sources
run: |
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING_EXIT_CODE=0
cmake --build . --config Release
- name: Run Virtual machine
run: ./build/ruc-vm
macos:
name: macOS Big Sur 11
runs-on: macos-11
steps:
- name: GitHub repository checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure and Build sources
run: |
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING_EXIT_CODE=0
cmake --build . --config Release
- name: Run Virtual machine
run: ./build/ruc-vm