-
Notifications
You must be signed in to change notification settings - Fork 43
57 lines (55 loc) · 1.49 KB
/
github-pull-request-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
50
51
52
53
54
55
56
57
name: Build project and run tests.
run-name: ${{ github.actor }} pull request
on:
pull_request:
branches:
- main
env:
CHROME_BIN: "chrome"
jobs:
Build-And-Test-Linux:
runs-on: ubuntu-latest
steps:
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Checkout
uses: actions/checkout@v4
- uses: browser-actions/setup-chrome@v1
- run: ./linuxBuild.sh
Build-And-Test-Mac:
runs-on: macos-latest
steps:
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Checkout
uses: actions/checkout@v4
- uses: browser-actions/setup-chrome@v1
- run: ./macBuild.sh
Build-And-Test-Windows:
runs-on: windows-latest
steps:
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Checkout
uses: actions/checkout@v4
- uses: msys2/setup-msys2@v2
- uses: browser-actions/setup-chrome@v1
- shell: msys2 {0}
run: |
$env:CHERE_INVOKING = 'yes'
C:\msys64\usr\bin\bash -lc "./windowsBuild-delegated.sh"