-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
036a506
commit 46f7cf9
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters