Skip to content

Commit

Permalink
OS Matrix for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
deusaquilus committed Feb 2, 2024
1 parent 80a88e4 commit 081eeb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ on: [pull_request, push]

jobs:
build:
runs-on: [ubuntu-latest, macOS-latest, windows-latest]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:

release:
needs: [create-staging-repository]
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macOS-latest, windows-latest ]
env:
SONATYPE_REPOSITORY_ID: ${{ needs.create_staging_repository.outputs.repository-id }}
SONATYPE_USERNAME: ${{ secrets.ORG_GRADLE_PROJECT_SONATYPEPASSWORD }}
Expand Down
2 changes: 2 additions & 0 deletions pprint-kotlin-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ kotlin {
}

linuxX64()
macosX64()
mingwX64()

js {
browser()
Expand Down

0 comments on commit 081eeb0

Please sign in to comment.