-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 1.07 KB
/
build.yaml
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
name: Build
on:
pull_request:
workflow_dispatch:
jobs:
linux-build:
name: Build on Linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Update dependencies
run: sudo apt-get update
- name: Install dependencies
run: sudo apt-get install chromium-browser epiphany-browser firefox
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
env:
SAFARI_BIN: epiphany-browser
run: ./gradlew build
macos-build:
name: Build on macOS
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle
run: ./gradlew build