-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (38 loc) · 960 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (38 loc) · 960 Bytes
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
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build_windows:
runs-on: [self-hosted, windows]
defaults:
run:
shell: powershell
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Generate Project Files
env:
QTDIR: C:/Qt/5.15.1/msvc2019_64
run: premake5.exe vs2019
- name: Build Solution
run: C:/"Program Files (x86)"/"Microsoft Visual Studio"/2019/BuildTools/MSBuild/Current/Bin/MSBuild.exe -property:Platform=x64 -property:Configuration=Release -maxCpuCount -verbosity:minimal -noLogo sln/UmikoBot.sln
build_linux:
runs-on: [self-hosted, linux]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Generate Project Files
run: premake5 qmake
- name: Make project
run: |
cd sln
qmake-qt5
make