Skip to content

Commit

Permalink
Build macOS native lib
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio Di Fabio <[email protected]>
  • Loading branch information
fab-10 committed Sep 19, 2024
1 parent 6d070eb commit fc297c1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/macos-native-lib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release

on: [push]

jobs:
macosNativeLib:
runs-on: macos-latest
- uses: actions/checkout@v3

- uses: actions/setup-go@v5

- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: 21
distribution: temurin
cache: 'gradle'

- name: Build native lib
run: ./gradlew :native:compress:buildJNI

- name: Upload macOS native lib asset
uses: actions/upload-artifact@v4
with:
name: libcompress_jni.dylib
path: 'native/compress/build/native/darwin-aarch64/libcompress_jni.dylib'

0 comments on commit fc297c1

Please sign in to comment.