Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Nov 1, 2023
1 parent 4f48936 commit a74515f
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 39 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tvos-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: build-i386
run: |
mkdir build-i386 && cd build-i386
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/ios.toolchain.cmake -DPLATFORM=SIMULATOR_TVOS -DARCHS="i386" \
-DDEPLOYMENT_TARGET=$TVOS_DEPLOYMENT_TARGET -DENABLE_BITCODE=$ENABLE_BITCODE -DENABLE_ARC=$ENABLE_ARC -DENABLE_VISIBILITY=$ENABLE_VISIBILITY \
-DNCNN_OPENMP=OFF -DNCNN_THREADS=OFF \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install \
..
cmake --build . -j 3
- name: build-x86_64
run: |
mkdir build-x86_64 && cd build-x86_64
Expand All @@ -62,3 +71,12 @@ jobs:
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install \
..
cmake --build . -j 3
- name: build-arm64
run: |
mkdir build-arm64 && cd build-arm64
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/ios.toolchain.cmake -DPLATFORM=SIMULATORARM64_TVOS -DARCHS="arm64" \
-DDEPLOYMENT_TARGET=$TVOS_DEPLOYMENT_TARGET -DENABLE_BITCODE=$ENABLE_BITCODE -DENABLE_ARC=$ENABLE_ARC -DENABLE_VISIBILITY=$ENABLE_VISIBILITY \
-DNCNN_OPENMP=OFF -DNCNN_THREADS=OFF \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install \
..
cmake --build . -j 3
18 changes: 18 additions & 0 deletions .github/workflows/watchos-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: build-i386
run: |
mkdir build-i386 && cd build-i386
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/ios.toolchain.cmake -DPLATFORM=SIMULATOR_WATCHOS -DARCHS="i386" \
-DDEPLOYMENT_TARGET=$WATCHOS_DEPLOYMENT_TARGET -DENABLE_BITCODE=$ENABLE_BITCODE -DENABLE_ARC=$ENABLE_ARC -DENABLE_VISIBILITY=$ENABLE_VISIBILITY \
-DNCNN_OPENMP=OFF -DNCNN_THREADS=OFF \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install \
..
cmake --build . -j 3
- name: build-x86_64
run: |
mkdir build-x86_64 && cd build-x86_64
Expand All @@ -71,3 +80,12 @@ jobs:
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install \
..
cmake --build . -j 3
- name: build-arm64
run: |
mkdir build-arm64 && cd build-arm64
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/ios.toolchain.cmake -DPLATFORM=SIMULATOR_WATCHOS -DARCHS="arm64" \
-DDEPLOYMENT_TARGET=$WATCHOS_DEPLOYMENT_TARGET -DENABLE_BITCODE=$ENABLE_BITCODE -DENABLE_ARC=$ENABLE_ARC -DENABLE_VISIBILITY=$ENABLE_VISIBILITY \
-DNCNN_OPENMP=OFF -DNCNN_THREADS=OFF \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install \
..
cmake --build . -j 3
Loading

0 comments on commit a74515f

Please sign in to comment.