From ddae6fd8b226b1c56f9c0fc7c34e75f3ce639e25 Mon Sep 17 00:00:00 2001 From: Hans Date: Wed, 29 May 2024 14:53:01 +0800 Subject: [PATCH] ci: try fix build fail --- .github/workflows/ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f315311..96b862b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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