forked from votingworks/electionguard-kotlin-multiplatform
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add github workflows for new modules
- Loading branch information
1 parent
bdb351d
commit fd9a57c
Showing
5 changed files
with
81 additions
and
43 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,24 @@ | ||
name: Execute Gradle Task | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
gradle-task: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Java17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '17' | ||
cache: 'gradle' | ||
|
||
- name: Run Gradle Task | ||
run: ./gradlew ${{ inputs.gradle-task }} |
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: Test egklib-core | ||
|
||
on: [push] | ||
|
||
jobs: | ||
jvm: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-encrypt:jvmTest | ||
|
||
node: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-encrypt:jsNodeTest | ||
|
||
browser: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-encrypt:jsBrowserTest |
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: Test egklib-encrypt | ||
|
||
on: [push] | ||
|
||
jobs: | ||
jvm: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-core:jvmTest | ||
|
||
node: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-core:jsNodeTest | ||
|
||
browser: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-core:jsBrowserTest |
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: Test egklib-trustee | ||
|
||
on: [push] | ||
|
||
jobs: | ||
jvm: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-trustee:jvmTest | ||
|
||
node: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-trustee:jsNodeTest | ||
|
||
browser: | ||
uses: ./.github/workflows/run-gradle-task.yml | ||
with: | ||
gradle-task: egklib-trustee:jsBrowserTest |
This file was deleted.
Oops, something went wrong.