From 2eb030d42c97eb20c2692727a03b48f8bd33f763 Mon Sep 17 00:00:00 2001 From: Artem Eroshenko Date: Mon, 27 Oct 2025 18:52:58 +0300 Subject: [PATCH 1/3] fix broken config in native image --- .github/workflows/build.yml | 5 +++++ .github/workflows/release.yml | 2 +- .../native-image/broken-model/reflect-config.json | 14 ++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/META-INF/native-image/broken-model/reflect-config.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d42807b..977ecdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,3 +16,8 @@ jobs: distribution: 'graalvm' - run: ./gradlew build - run: ./gradlew nativeCompile + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + path: build/native/nativeCompile/xcresults + name: xcresults diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50e376d..f8dd892 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.agent }} strategy: matrix: - agent: [ "macos-12", "macos-latest" ] + agent: [ "macos-14", "macos-latest" ] steps: - uses: actions/checkout@v3 - uses: graalvm/setup-graalvm@v1 diff --git a/src/main/resources/META-INF/native-image/broken-model/reflect-config.json b/src/main/resources/META-INF/native-image/broken-model/reflect-config.json new file mode 100644 index 0000000..531cb0b --- /dev/null +++ b/src/main/resources/META-INF/native-image/broken-model/reflect-config.json @@ -0,0 +1,14 @@ +[ + { + "name" : "io.eroshenkoam.xcresults.broken.BrokenConfig", + "allDeclaredConstructors" : true, + "allDeclaredMethods" : true, + "allDeclaredFields" : true + }, + { + "name" : "io.eroshenkoam.xcresults.broken.BrokenStatusMatcher", + "allDeclaredConstructors" : true, + "allDeclaredMethods" : true, + "allDeclaredFields" : true + } +] \ No newline at end of file From d3e1dc2006888af74915709fc26faa8be2cc757c Mon Sep 17 00:00:00 2001 From: Artem Eroshenko Date: Mon, 27 Oct 2025 19:06:29 +0300 Subject: [PATCH 2/3] roll back artifact store --- .github/workflows/build.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 977ecdc..d42807b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,8 +16,3 @@ jobs: distribution: 'graalvm' - run: ./gradlew build - run: ./gradlew nativeCompile - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - path: build/native/nativeCompile/xcresults - name: xcresults From fc807141318f3fd7d1c86c15b7f49d5a93693c17 Mon Sep 17 00:00:00 2001 From: Artem Eroshenko Date: Mon, 27 Oct 2025 19:07:22 +0300 Subject: [PATCH 3/3] add retention days --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d42807b..21d6d4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,3 +16,9 @@ jobs: distribution: 'graalvm' - run: ./gradlew build - run: ./gradlew nativeCompile + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + path: build/native/nativeCompile/xcresults + name: xcresults + retention-days: 1