-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add github actions to clojure-1.11-dev branch
- Loading branch information
1 parent
777456f
commit 5366a0e
Showing
3 changed files
with
53 additions
and
0 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,19 @@ | ||
name: Release on demand | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
releaseVersion: | ||
description: "Version to release" | ||
required: true | ||
snapshotVersion: | ||
description: "Snapshot version after release" | ||
required: true | ||
|
||
jobs: | ||
call-release: | ||
uses: clojure/build.ci/.github/workflows/release.yml@master | ||
with: | ||
releaseVersion: ${{ github.event.inputs.releaseVersion }} | ||
snapshotVersion: ${{ github.event.inputs.snapshotVersion }} | ||
secrets: inherit |
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,8 @@ | ||
name: Snapshot on demand | ||
|
||
on: [workflow_dispatch] | ||
|
||
jobs: | ||
call-snapshot: | ||
uses: clojure/build.ci/.github/workflows/snapshot.yml@master | ||
secrets: inherit |
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,26 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] # macOS-latest, windows-latest] | ||
java-version: ["8", "11", "17", "21"] | ||
distribution: ["temurin", "corretto"] | ||
profile: ["test-direct", "test-no-direct"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ matrix.java-version }} | ||
distribution: ${{ matrix.distribution }} | ||
cache: 'maven' | ||
- name: Build with Maven | ||
run: mvn -ntp -B -P${{ matrix.profile }} clean test |