-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(ci): use GitHub action 🐙
strong_ci.yaml
instead of `appveyor.…
…yml`
- Loading branch information
Showing
9 changed files
with
127 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# 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: 15 | ||
name: test by multiply java versions | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: setup Java 8 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 8 | ||
distribution: zulu | ||
# only first java setup need enable cache | ||
cache: maven | ||
- name: setup Java 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 11 | ||
distribution: microsoft | ||
- name: setup Java 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: microsoft | ||
- name: setup Java 20 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 20 | ||
distribution: zulu | ||
- name: setup Java 21 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 21-ea | ||
distribution: zulu | ||
|
||
- name: run integration test | ||
run: scripts/integration-test.sh | ||
env: | ||
JAVA8_HOME: ${{ env.JAVA_HOME_8_X64 }} | ||
JAVA11_HOME: ${{ env.JAVA_HOME_11_X64 }} | ||
JAVA17_HOME: ${{ env.JAVA_HOME_17_X64 }} | ||
JAVA19_HOME: ${{ env.JAVA_HOME_19_X64 }} | ||
JAVA20_HOME: ${{ env.JAVA_HOME_20_X64 }} | ||
JAVA21_HOME: ${{ env.JAVA_HOME_21_X64 }} | ||
|
||
- name: remove self maven install files | ||
run: rm -rf $HOME/.m2/repository/com/alibaba/{transmittable-thread-local,ttl}* | ||
|
||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
name: codecov-umbrella | ||
token: ${{ secrets.CODECOV_TOKEN }} |
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
Submodule bash-buddy
updated
7 files
+15 −7 | README.md | |
+30 −2 | lib/common_utils.sh | |
+0 −159 | lib/java_build_utils.sh | |
+155 −0 | lib/java_utils.sh | |
+112 −0 | lib/maven_utils.sh | |
+3 −31 | lib/prepare_jdks.sh | |
+1 −1 | templates/integration_test.template.sh |
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