-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[acme] Update common files for branch master (#131)
- Loading branch information
1 parent
1087f2b
commit fc6bbc9
Showing
7 changed files
with
39 additions
and
16 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# WARNING: Do not edit this file directly. Instead, go to: | ||
# | ||
# https://github.com/micronaut-projects/micronaut-project-template/tree/master/.github/workflows | ||
# | ||
# and edit them there. Note that it will be sync'ed to all the Micronaut repos | ||
name: GraalVM CE CI | ||
on: | ||
push: | ||
|
@@ -14,8 +19,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
graalvm: ['20.3.0.java8', '20.3.0.java11'] | ||
graalvm: ['21.0.0.2.java8', '21.0.0.2.java11'] | ||
steps: | ||
# https://github.com/actions/virtual-environments/issues/709 | ||
- name: Free disk space | ||
run: | | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
sudo apt-get clean | ||
df -h | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -24,19 +36,18 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Setup GraalVM CE | ||
uses: DeLaGuardo/setup-graalvm@3.1 | ||
uses: DeLaGuardo/setup-graalvm@4.0 | ||
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" | ||
if ./gradlew tasks --no-daemon --all | grep -w "testNativeImage" | ||
then | ||
./gradlew check testNativeImage --continue --no-daemon | ||
else | ||
./gradlew check --continue --no-daemon | ||
fi | ||
env: | ||
TESTCONTAINERS_RYUK_DISABLED: true | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,13 @@ jobs: | |
matrix: | ||
java: ['8', '11', '15'] | ||
steps: | ||
# https://github.com/actions/virtual-environments/issues/709 | ||
- name: Free disk space | ||
run: | | ||
sudo rm -rf "/usr/local/share/boost" | ||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | ||
sudo apt-get clean | ||
df -h | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -29,16 +36,17 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'adopt' | ||
java-version: ${{ matrix.java }} | ||
- name: Optional setup step | ||
run: | | ||
[ -f ./setup.sh ] && ./setup.sh || true | ||
- name: Build with Gradle | ||
run: ./gradlew dependencyUpdates check --parallel --continue | ||
run: ./gradlew dependencyUpdates check --no-daemon --parallel --continue | ||
env: | ||
TESTCONTAINERS_RYUK_DISABLED: true | ||
TESTCONTAINERS_RYUK_DISABLED: true | ||
- name: Publish to Sonatype Snapshots | ||
if: success() && github.event_name == 'push' && matrix.java == '8' | ||
env: | ||
|
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |