Skip to content

Commit

Permalink
ci: try fix build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 29, 2024
1 parent 2135056 commit ddae6fd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,9 @@ jobs:
- name: Build executorch
run: |
cd executorch
./install_requirements.sh --pybind
cmake -S . -B cmake-out -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=cmake-out \
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
-DEXECUTORCH_BUILD_XNNPACK=ON
cmake --build cmake-out --config Release --target install -j$(nproc)
PYTHON_EXECUTABLE=python \
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON" \
./.ci/scripts/setup-linux.sh cmake
- name: Install dependencies
run: npm install
- name: Build
Expand Down

0 comments on commit ddae6fd

Please sign in to comment.