Skip to content

Commit

Permalink
#7 Global refactoring
Browse files Browse the repository at this point in the history
Closes #6
#2 add some tests on GPIO
#10 fixes for building chain
  • Loading branch information
DigitalSmile committed Jul 8, 2024
1 parent 2f5d755 commit 7fd8cb8
Show file tree
Hide file tree
Showing 54 changed files with 1,701 additions and 2,133 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand All @@ -28,10 +28,8 @@ jobs:
with:
java-version: '22'
distribution: 'corretto'
- name: Install libclang
run: sudo apt-get install -y libclang1
- name: Create symlink
run: sudo ln -s /usr/lib/x86_64-linux-gnu/libclang-16.so.1 /usr/lib/x86_64-linux-gnu/libclang.so
- name: Install headers for test
run: sudo apt-get install -y linux-libc-dev
- name: Change wrapper permissions
run: chmod +x ./gradlew
- name: Setup Gradle
Expand Down
10 changes: 10 additions & 0 deletions annotation-processor-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,18 @@ dependencies {

testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation("org.assertj:assertj-core:3.25.1")
}

jar {
manifest {
attributes(
"Enable-Native-Access": "ALL-UNNAMED"
)
}
}

test {
useJUnitPlatform()
jvmArgs ['--enable-native-access=ALL_UNNAMED']
}
Loading

0 comments on commit 7fd8cb8

Please sign in to comment.