-
Notifications
You must be signed in to change notification settings - Fork 62
40 lines (38 loc) · 1.23 KB
/
continous-integration.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
name: Continous Integration for yGuard
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: OrangeLabs-moe/[email protected]
with:
args: clean build test
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Local publication for consumption by examples
run: ./gradlew publishToMavenLocal
- name: Test annotation example
working-directory: ./examples/annotation
run: mvn package
- name: Test application example
working-directory: ./examples/application
run: mvn package
- name: Test external_library example
working-directory: ./examples/external_library
run: mvn package
- name: Test library example
working-directory: ./examples/library
run: mvn package
- name: Test resources example
working-directory: ./examples/resources
run: mvn package
- name: Test serializable_exclusion example
working-directory: ./examples/serializable_exclusion
run: mvn package