Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
kongxue88
Engine
提交
882cad36
E
Engine
项目概览
kongxue88
/
Engine
9 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
Engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
882cad36
编写于
7月 16, 2022
作者:
uncia_me
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add andoird profile
上级
7a28f444
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
29 addition
and
8 deletion
+29
-8
.github/workflows/native-compile-linux.yml
.github/workflows/native-compile-linux.yml
+1
-3
.github/workflows/native-compile-platforms.yml
.github/workflows/native-compile-platforms.yml
+28
-5
未找到文件。
.github/workflows/native-compile-linux.yml
浏览文件 @
882cad36
...
@@ -29,9 +29,7 @@ jobs:
...
@@ -29,9 +29,7 @@ jobs:
version
:
11
version
:
11
platform
:
x64
platform
:
x64
-
name
:
install conan
-
name
:
install conan
run
:
python -m pip install conan
run
:
python -m pip install conan && conan -v
-
name
:
show conan version
run
:
conan -v
-
name
:
config clang profile
-
name
:
config clang profile
run
:
|
run
:
|
conan profile new clang
conan profile new clang
...
...
.github/workflows/native-compile-platforms.yml
浏览文件 @
882cad36
...
@@ -96,16 +96,39 @@ jobs:
...
@@ -96,16 +96,39 @@ jobs:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
Download external libraries
-
name
:
actions/setup-python
shell
:
bash
uses
:
actions/setup-python@v4
run
:
|
with
:
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
python-version
:
'
3.x'
# Version range or exact version of a Python version to use, using SemVer's version range syntax
git clone --branch $EXT_VERSION --depth 1 https://github.com/cocos-creator/engine-native-external native/external
architecture
:
'
x64'
# optional x64 or x86. Defaults to x64 if not specified
-
uses
:
nttld/setup-ndk@v1
-
uses
:
nttld/setup-ndk@v1
id
:
setup-ndk
id
:
setup-ndk
with
:
with
:
ndk-version
:
r21e
ndk-version
:
r21e
add-to-path
:
false
add-to-path
:
false
-
name
:
install conan
run
:
python -m pip install conan && conan -v
-
name
:
config ndk profile
run
:
|
cd ${{ github.workspace }}/native/conan/android && sed -i -- 's/__andoird_ndk_path__/${{ steps.setup-ndk.outputs.ndk-path }}/g' *
cat ${{ github.workspace }}/native/conan/android/profile
cp ${{ github.workspace }}/native/conan/android/profile ${{ github.workspace }}/.conan/profile/ndk
-
name
:
install third party
run
:
|
mkdir -p ${{ github.workspace }}/native/conan/build
cd ${{ github.workspace }}/native/conan/build
conan install ${{ github.workspace }}/native/conan/andoird -pr ndk --build=missing -j install_info.json
-
name
:
Download external libraries
shell
:
bash
run
:
|
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`
git clone --branch $EXT_VERSION --depth 1 https://github.com/oahcy/engine-native-external native/external
-
name
:
Generate bindings
-
name
:
Generate bindings
env
:
env
:
ANDROID_NDK_HOME
:
${{ steps.setup-ndk.outputs.ndk-path }}
ANDROID_NDK_HOME
:
${{ steps.setup-ndk.outputs.ndk-path }}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录