-
-
Notifications
You must be signed in to change notification settings - Fork 1
51 lines (46 loc) · 1.13 KB
/
debug.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
name: Build CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
name: Gradle Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
fetch-depth: 0
- name: Prepare Java 16
uses: actions/setup-java@v1
with:
java-version: 16
java-package: jdk
- name: Native Cache
uses: actions/cache@v2
with:
path: |
~/.cache/ccache
~/.ccache
key: native-cache
- name: Gradle cache
uses: actions/cache@v2
with:
path: ~/.gradle
key: gradle-${{ hashFiles('**/*.gradle') }}
- name: Prepare Environment
run: |
sudo apt-get install bison gcc make curl ninja-build ccache -y
- name: Debug Build
run: |
ccache -zp
ccache -o max_size=10G
ccache -o hash_dir=false
ccache -o compiler_check='%compiler% -dumpmachine; %compiler% -dumpversion'
./gradlew build
ccache -s