Skip to content

Commit

Permalink
Update common files (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
micronaut-build authored Nov 12, 2020
1 parent 036a506 commit 46f7cf9
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/graalvm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: GraalVM CE CI
on:
push:
branches:
- master
- '[1-9]+.[0-9]+.x'
pull_request:
branches:
- master
- '[1-9]+.[0-9]+.x'
jobs:
build:
if: github.repository != 'micronaut-projects/micronaut-project-template'
runs-on: ubuntu-latest
strategy:
matrix:
graalvm: ['20.2.0.java8', '20.2.0.java11']
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup GraalVM CE
uses: DeLaGuardo/[email protected]
with:
graalvm-version: ${{ matrix.graalvm }}
- name: Install Native Image
run: gu install native-image
- name: Build with Gradle
run: |
if ./gradlew tasks --all | grep -w "testNativeImage"
then
./gradlew check testNativeImage --continue --no-daemon
else
./gradlew check --continue --no-daemon
fi
env:
TESTCONTAINERS_RYUK_DISABLED: true

1 change: 0 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
env:
TESTCONTAINERS_RYUK_DISABLED: true
- name: Publish Test Report
if: failure()
uses: scacap/action-surefire-report@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
</module>
<module name="JavadocType"/>
<module name="JavadocStyle"/>
<module name="MissingJavadocType"/>

<!-- Checks for Naming Conventions. -->
<!-- See https://checkstyle.org/config_naming.html -->
Expand Down

0 comments on commit 46f7cf9

Please sign in to comment.