-
Notifications
You must be signed in to change notification settings - Fork 73
49 lines (40 loc) · 994 Bytes
/
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
name: Build
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
- name: Install native build dependencies
run: |
sudo apt update
sudo apt install \
build-essential \
meson \
ninja-build \
nasm
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.14
with:
cmake-version: '3.22.1'
- name: Build app
run: ./gradlew assemble