-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade maven wrapper to
3.9.6
🪶 ; update CI 🤖
- use GitHub action 🐙 `strong_ci.yaml` instead of `appveyor.yml` - upgrade `bash-buddy` - upgrade CI JDK
- Loading branch information
Showing
19 changed files
with
289 additions
and
293 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,26 @@ | ||
# Quickstart for GitHub Actions | ||
# https://docs.github.com/en/actions/quickstart | ||
|
||
name: CI | ||
name: Fast CI | ||
on: [ push, pull_request, workflow_dispatch ] | ||
|
||
jobs: | ||
|
||
test: | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 10 | ||
timeout-minutes: 5 | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest ] | ||
java: [ 8.0.345, 8, 11, 17, 19, 20-ea ] | ||
java: [ 8.0.345, 8, 11, 17, 20 ] | ||
fail-fast: false | ||
max-parallel: 64 | ||
name: Test on JDK ${{ matrix.java }} OS ${{ matrix.os }} | ||
name: Fast CI on Java ${{ matrix.java }} OS ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-java@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: zulu | ||
cache: maven | ||
- run: ./mvnw -V --no-transfer-progress -Pgen-code-cov clean package | ||
# https://github.com/marketplace/actions/codecov | ||
- uses: codecov/codecov-action@v3 | ||
with: | ||
name: codecov-umbrella | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
- run: ./mvnw -V --no-transfer-progress clean package |
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,56 @@ | ||
# Quickstart for GitHub Actions | ||
# https://docs.github.com/en/actions/quickstart | ||
|
||
name: Strong CI | ||
on: [ push, pull_request, workflow_dispatch ] | ||
jobs: | ||
test: | ||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
name: CI by multiply java versions | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup Java 8 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 8 | ||
distribution: zulu | ||
# only first java setup need enable cache | ||
cache: maven | ||
- name: Setup Java 8.0.345 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 8.0.345 | ||
distribution: zulu | ||
- name: Setup Java 11 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 11 | ||
distribution: microsoft | ||
- name: Setup Java 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: microsoft | ||
- name: Setup Java 20 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 20 | ||
distribution: zulu | ||
|
||
- name: Run integration test | ||
run: scripts/integration_test | ||
|
||
- name: Remove self maven install files | ||
run: rm -rf $HOME/.m2/repository/com/alibaba/dns-cache-manipulator* | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
name: codecov-umbrella | ||
token: ${{ secrets.CODECOV_TOKEN }} |
Binary file not shown.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.