Skip to content

Commit 813d06b

Browse files
committed
Fix build
1 parent 121cf13 commit 813d06b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/gradle.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
cd annotation-processor-test/src/test/resources/libvlc && git clone --depth 1 https://github.com/videolan/vlc.git
4343
- name: Getting linux header version for tests
4444
run: |
45-
echo "headerVersion=$(uname -r)" >> "$GITHUB_ENV"
45+
echo "linux-version=$(uname -r)" >> "$GITHUB_ENV"
46+
echo "gcc-version=$(ls /usr/lib/gcc/x86_64-linux-gnu/)" >> "$GITHUB_ENV"
4647
- name: Change wrapper permissions
4748
run: chmod +x ./gradlew
4849
- name: Build Gradle
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
systemProp.version=6.8.0-52-generic
1+
systemProp.linux-version=6.8.0-52-generic
22
systemProp.gcc-version=11

annotation-processor-test/src/test/java/io/github/digitalsmile/gpio/types/all/GPIOTypesAll.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import io.github.digitalsmile.annotation.structure.Structs;
77
import io.github.digitalsmile.annotation.structure.Unions;
88

9-
@NativeMemory(headers = "/usr/src/linux-headers-${version}/include/uapi/linux/gpio.h")
9+
@NativeMemory(headers = "/usr/src/linux-headers-${linux-version}/include/uapi/linux/gpio.h")
1010
@NativeMemoryOptions(
1111
processRootConstants = true
1212
)

0 commit comments

Comments
 (0)