Skip to content

Commit

Permalink
build/ci: simplify strong_ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Feb 7, 2024
1 parent cbba3e0 commit 2484864
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,18 @@ jobs:
with:
submodules: recursive

- name: Setup Java 8
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 8
# https://github.com/actions/setup-java?tab=readme-ov-file#install-multiple-jdks
java-version: |
8
11
17
21
distribution: zulu
# only first java setup need enable cache
cache: maven
- 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 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: zulu

- name: Run integration test
run: scripts/integration_test && demos/scripts/integration_test
Expand All @@ -49,3 +39,9 @@ jobs:
with:
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}

# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
- name: Check git dirty
run: |
git status --short
[ -z "$(git status --short)" ]

0 comments on commit 2484864

Please sign in to comment.