-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.23 KB
/
native-macos.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: FlowValve Native Mac OS
on:
push:
jobs:
native-macos:
runs-on: macos-latest
steps:
- id: setup-java
name: Set up JDK 1.8
uses: actions/[email protected]
with:
java-version: '15'
distribution: 'zulu'
- id: checkout
name: Checkout
uses: actions/checkout@v2
- id: gradle-wrapper
name: Gradle Wrapper
uses: actions/[email protected]
with:
path: |
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- id: gradle-caches
name: Gradle Caches
uses: actions/[email protected]
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-caches-
- id: assemble
name: Assemble
run: ./gradlew nativeMainKlibrary
- id: test
name: Test
run: ./gradlew nativeTest
- id: junit-test-result-artifacts
uses: actions/upload-artifact@v2
with:
name: JUnit test results
path: build/reports/tests/
if: failure()