From c343a6d6c663315eca42569a8f970e097c2879fe Mon Sep 17 00:00:00 2001 From: oahcy <1162485779@qq.com> Date: Thu, 10 Nov 2022 10:38:59 +0800 Subject: [PATCH] collect libs for linux --- .github/workflows/native-compile-linux.yml | 6 +++++- native/conan/conanfile.txt | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/native-compile-linux.yml b/.github/workflows/native-compile-linux.yml index 2dfc57e8a8..3b484131c7 100644 --- a/.github/workflows/native-compile-linux.yml +++ b/.github/workflows/native-compile-linux.yml @@ -1,6 +1,10 @@ name: Linux -on: [push] +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 env: CONAN_USER_HOME : ${{ github.workspace }}/.conan diff --git a/native/conan/conanfile.txt b/native/conan/conanfile.txt index dda0ec5267..77c1c0a1f8 100644 --- a/native/conan/conanfile.txt +++ b/native/conan/conanfile.txt @@ -19,8 +19,13 @@ sqlite3/3.38.5 [options] *:fPIC=True +*:shared=False freetype:with_brotli=False freetype:with_bzip2=False [generators] cmake + +[imports] +bin, *.a -> ./bin # Copies all a files from packages bin folder to my local "bin" folder +lib, *.a -> ./lib # Copies all dylib files from packages lib folder to my local "bin" folder \ No newline at end of file -- GitLab