-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (42 loc) · 1 KB
/
main.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: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
java_version:
- 8
- 11
- 17
exclude:
- os: macos-latest
java_version: 8
- os: macos-latest
java_version: 17
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
distribution: zulu
java-version: ${{ matrix.java_version }}
- if: runner.os == 'Linux'
env:
DEBIAN_FRONTEND: noninteractive
run: >
sudo apt-get -qq update &&
sudo apt-get -qq install sox speech-tools
- if: runner.os == 'macOS'
run: brew install speech-tools
- uses: gradle/[email protected]
with:
arguments: build --warning-mode all