Skip to content

Commit 6aac124

Browse files
ci: GraalVM Matrix (#690)
Fixes #705 Co-authored-by: Fabio Niephaus <[email protected]>
1 parent b2340e0 commit 6aac124

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/graalvm.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
strategy:
2121
matrix:
2222
java: ['11', '17']
23+
graalvm: ['latest', 'dev']
2324
steps:
2425
# https://github.com/actions/virtual-environments/issues/709
2526
- name: Free disk space
@@ -38,7 +39,7 @@ jobs:
3839
- name: Setup GraalVM CE
3940
uses: graalvm/setup-graalvm@v1
4041
with:
41-
version: '22.1.0'
42+
version: ${{ matrix.graalvm }}
4243
java-version: ${{ matrix.java }}
4344
components: 'native-image'
4445
- name: Build with Gradle

.github/workflows/gradle.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ jobs:
6565
check_name: Java CI / Test Report (${{ matrix.java }})
6666
report_paths: '**/build/test-results/test/TEST-*.xml'
6767
check_retries: 'true'
68+
- name: "📜 Upload binary compatibility check results"
69+
if: always()
70+
uses: actions/upload-artifact@v2
71+
with:
72+
name: binary-compatibility-reports
73+
path: "**/build/reports/binary-compatibility-*.html"
6874
- name: Publish to Sonatype Snapshots
6975
if: success() && github.event_name == 'push' && matrix.java == '11'
7076
env:

jdbc/src/main/resources/META-INF/native-image/io.micronaut.sql/micronaut-jdbc/native-image.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
# limitations under the License.
1515
#
1616

17-
Args = -H:DynamicProxyConfigurationResources=${.}/dynamic-proxy-config.json
17+
Args = -H:DynamicProxyConfigurationResources=${.}/dynamic-proxy-config.json \
18+
--add-modules=java.sql.rowset

0 commit comments

Comments
 (0)