Skip to content

improved examples

improved examples #342

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