Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
toasterofbread authored Dec 1, 2023
1 parent 2cc3762 commit 05ad396
Showing 1 changed file with 11 additions and 20 deletions.
31 changes: 11 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,19 @@ jobs:
version: 1.0

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: TEST 1
run: ./gradlew generateCInteropDefinitions

- name: TEST 2
run: ls src/nativeInterop/cinterop ; cat src/nativeInterop/cinterop/libzmq.def
run: chmod +x gradle

- name: Build native binaries
run: ./gradlew nativeBinaries

- name: TEST
run: ls build/bin/native/ ; ls build/bin/native/debugExecutable/ ; ls build/bin/native/nativeExecutable/

# - name: Upload universal debug APK artifact
# uses: actions/upload-artifact@v3
# with:
# name: androidApp-debug.apk
# path: androidApp/build/outputs/apk/debug/androidApp-debug.apk
- name: Upload debug binary
uses: actions/upload-artifact@v3
with:
name: spms_debug.kexe
path: build/bin/native/debugExecutable/spmp-server.kexe

# - name: Upload universal release APK artifact
# uses: actions/upload-artifact@v3
# with:
# name: androidApp-release.apk
# path: androidApp/build/outputs/apk/release/androidApp-release.apk
- name: Upload release binary
uses: actions/upload-artifact@v3
with:
name: spms_release.kexe
path: build/bin/native/releaseExecutable/spmp-server.kexe

0 comments on commit 05ad396

Please sign in to comment.