Skip to content

Commit

Permalink
Update CI builds workflow using a matrix configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Oct 27, 2023
1 parent 3beebb2 commit 81167ed
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/linux.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/linux17.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI build

on: [push]

jobs:
builds:
name: ${{ matrix.os }} with Java ${{ matrix.jdk }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
jdk: 17
- os: ubuntu-latest
jdk: 21
- os: windows-latest
jdk: 17
- os: windows-latest
jdk: 21
fail-fast: false
max-parallel: 4
timeout-minutes: 15

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Java ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.jdk }}
- name: Compile
run: |
./gradlew clean jar

0 comments on commit 81167ed

Please sign in to comment.