-
-
Notifications
You must be signed in to change notification settings - Fork 212
48 lines (45 loc) · 1.25 KB
/
windows.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
name: Windows
on:
push:
branches:
- github-action-debug
jobs:
qt:
name: Windows Build
runs-on: windows-latest
steps:
- name: Cache Qt
uses: actions/cache@v1 # not v2!
with:
path: ../Qt/6.2.4
key: ${{ runner.os }}-QtCache-Qt6-2
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: '6.2.4'
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2019_64'
install-deps: 'true'
modules: 'qtwebengine'
cached: ${{ steps.cache-qt-6-2.outputs.cache-hit }}
setup-python: 'true'
tools: ''
set-env: 'true'
tools-only: 'false'
- name: Installing Conan
run: |
pip install wheel setuptools
pip install conan --upgrade
conan --version
- name: Configuring Conan Profile
run: |
conan profile new default --detect
conan profile show default
- uses: actions/checkout@v2
- name: Configure
run: |
git submodule update --init
cmake -S . -B build -DGITHUB_PAT=${{ secrets.GPAT_FOR_JASP }} -DGITHUB_BUILD=ON
- name: Building JASP
run: cmake --build build