Update gradle.properties #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "main", "actions-test" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Add zeromq repo | |
run: | | |
echo 'deb http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-draft/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/network:messaging:zeromq:release-draft.list \ | |
&& curl -fsSL https://download.opensuse.org/repositories/network:messaging:zeromq:release-draft/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/network_messaging_zeromq_release-draft.gpg > /dev/null | |
- name: Install dependencies | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: libunwind-dev libzmq3-dev libmpv-dev libappindicator3-dev libcurl4-openssl-dev | |
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 | |
- 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 universal release APK artifact | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: androidApp-release.apk | |
# path: androidApp/build/outputs/apk/release/androidApp-release.apk |