Skip to content

Commit b32b2f3

Browse files
committed
Add all-platforms checks back
1 parent 1af9a30 commit b32b2f3

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,35 @@ jobs:
135135
name: test-reports-windows
136136
path: '**/build/reports'
137137

138+
all-platforms:
139+
runs-on: ${{ matrix.os }}
140+
strategy:
141+
fail-fast: false
142+
matrix:
143+
os: [ ubuntu-latest, macos-latest, windows-latest ]
144+
steps:
145+
- name: Checkout sources
146+
uses: actions/checkout@v4
147+
- name: Configure JDK
148+
uses: actions/setup-java@v3
149+
with:
150+
distribution: 'corretto'
151+
java-version: 17
152+
cache: 'gradle'
153+
- name: Test
154+
shell: bash
155+
run: |
156+
# FIXME K2. Re-enable warnings as errors after this warning is removed: https://youtrack.jetbrains.com/issue/KT-68532
157+
# echo "kotlinWarningsAsErrors=true" >> $GITHUB_WORKSPACE/local.properties
158+
./gradlew apiCheck
159+
./gradlew test jvmTest
160+
- name: Save Test Reports
161+
if: failure()
162+
uses: actions/upload-artifact@v3
163+
with:
164+
name: test-reports-${{ matrix.os }}
165+
path: '**/build/reports'
166+
138167
protocol-tests:
139168
runs-on: ubuntu-latest
140169
steps:

0 commit comments

Comments
 (0)