Skip to content

Commit

Permalink
initiate continuous integration/testing at GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 26, 2024
1 parent 68b9414 commit 250451b
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
# GitHub Actions workflow for commits pushed to the jolt-jni repo - all branches

name: CI at GitHub
on: [push]

jobs:
Java11-Linux:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
- run: ./gradlew build javadoc --console=plain --no-daemon

Java11-MacOS:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: macOS-13
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- uses: actions/checkout@v4
- run: ./gradlew build javadoc --console=plain --no-daemon

Java11-Windows:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: windows-2019
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- uses: actions/checkout@v4
- run: ./gradlew build javadoc --console=plain --no-daemon
shell: bash

Java17-MacOS:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: macOS-14
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: actions/checkout@v4
- run: ./gradlew build javadoc --console=plain --no-daemon

Java21-Windows:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: windows-2022
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- uses: actions/checkout@v4
- run: ./gradlew build javadoc --console=plain --no-daemon
shell: bash

Java22-Linux:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: ubuntu-24.04
steps:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 22
- uses: actions/checkout@v4
- run: ./gradlew build javadoc --console=plain --no-daemon

0 comments on commit 250451b

Please sign in to comment.