build(ci): adapt build pipeline for the generator API

build(ci): make "Compare Binding Hash" job also took into account generated and include folders

build(ci): add JDK 11 to the setup-java pipeline

This is required for the buildSrc module, since it uses "spoon" library, which is compiled for JDK11.

build(ci): keep only JDK11

- Add source ant target compatibility output to the MANIFEST.mf file

build: add auto-provisioning for JDK

just in case
This commit is contained in:
SpaiR committed 2024-08-08 14:46:23 +03:00
1 parent 4e884a1a17
commit 1c396fb82a
4 files changed
+17 -9

No files matched your search

+5 -3
View File
@@ -23,8 +23,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 8
distribution: liberica
java-version: 11
cache: gradle
- name: Build
@@ -68,8 +68,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 8
distribution: liberica
java-version: 11
cache: gradle
- name: Install Dependencies (for Windows build)
@@ -124,6 +124,8 @@ jobs:
touch bin/binding.sha1
cat bin/binding.sha1 > /tmp/hash
find imgui-binding/src/main -type f -print0 | sort -z | xargs -0 sha1sum > bin/binding.sha1
find imgui-binding/src/generated -type f -print0 | sort -z | xargs -0 sha1sum >> bin/binding.sha1
find include -type f -print0 | sort -z | xargs -0 sha1sum >> bin/binding.sha1
cmp /tmp/hash bin/binding.sha1
- name: Update
@@ -151,8 +153,8 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 8
distribution: liberica
java-version: 11
cache: gradle
- name: Download Artifacts