mirror of
https://github.com/pocketpy/pocketpy
synced 2025-12-06 18:20:17 +00:00
...
This commit is contained in:
parent
2fb66b6264
commit
877ad7de18
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -51,12 +51,13 @@ jobs:
|
|||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
- name: Compile
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
export CXX=clang++
|
|
||||||
export CC=clang
|
|
||||||
mkdir -p output/linux/x86_64
|
mkdir -p output/linux/x86_64
|
||||||
python3 cmake_build.py
|
python3 cmake_build.py
|
||||||
cp main output/linux/x86_64
|
cp main output/linux/x86_64
|
||||||
cp libpocketpy.so output/linux/x86_64
|
cp libpocketpy.so output/linux/x86_64
|
||||||
|
env:
|
||||||
|
CXX: clang++
|
||||||
|
CC: clang
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: output
|
path: output
|
||||||
@ -125,6 +126,8 @@ jobs:
|
|||||||
cp build/android/x86_64/libpocketpy.so output/android/x86_64
|
cp build/android/x86_64/libpocketpy.so output/android/x86_64
|
||||||
env:
|
env:
|
||||||
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
|
||||||
|
CXX: clang++
|
||||||
|
CC: clang
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: output
|
path: output
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user