-
Notifications
You must be signed in to change notification settings - Fork 22
54 lines (44 loc) · 1.16 KB
/
clairvoyance.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
# Axel '0vercl0k' Souchet - December 11 2020
name: Builds
on: [push, pull_request]
jobs:
Linux2004Gcc:
name: Ubuntu 20.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install c++ headers
run: sudo apt install -y g++-10 ninja-build
- name: Grab latest llvm
run: sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
- name: Build
run: |
cmake --version
cd build
chmod u+x ./build-release.sh
CC=clang-11 CXX=clang++-11 ./build-release.sh
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: linx64-RelWithDebInfo
path: build/clairvoyance
Windows:
name: Windows latest
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup vs prompt
uses: ilammy/msvc-dev-cmd@v1
- name: Build
run: |
cd build
.\build-release.bat
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: winx64-RelWithDebInfo
path: |
build/clairvoyance.exe
build/clairvoyance.pdb