Skip to content

Commit

Permalink
fix ci: ubuntu -ndk-build
Browse files Browse the repository at this point in the history
  • Loading branch information
sisong committed Sep 9, 2023
1 parent df48d51 commit c74d3b7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
ndk-build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
platform: [macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
Expand All @@ -60,6 +60,21 @@ jobs:
cd ./builds/android_ndk_jni_mk
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk
ubuntu-ndk-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: nttld/[email protected]
with:
ndk-version: r16b
- name: buildByAndroidNDK
run: |
sudo apt install libncurses5
git submodule update --init --recursive
cd ./builds/android_ndk_jni_mk
ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk
vc-build:
runs-on: windows-latest
steps:
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ ifeq ($(MT),0)
-D_IS_USED_MULTITHREAD=0
else
DEF_FLAGS += \
-DZSTD_MULTITHREAD=1 \
-D_IS_USED_MULTITHREAD=1 \
-D_IS_USED_PTHREAD=1
endif
Expand Down
2 changes: 1 addition & 1 deletion hdiffi_import_patch.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ extern "C" {
#endif
#define HPATCHLITE_VERSION_MAJOR 0
#define HPATCHLITE_VERSION_MINOR 4
#define HPATCHLITE_VERSION_RELEASE 2
#define HPATCHLITE_VERSION_RELEASE 3

#define _HPATCHLITE_VERSION HPATCHLITE_VERSION_MAJOR.HPATCHLITE_VERSION_MINOR.HPATCHLITE_VERSION_RELEASE
#define _HDIFFPATCH_QUOTE(str) #str
Expand Down

0 comments on commit c74d3b7

Please sign in to comment.