Skip to content

Commit

Permalink
ci: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hans00 committed May 30, 2024
1 parent 9a711aa commit f44ba1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: s-weigand/setup-conda@v1
- name: Cached build
uses: actions/cache@v2
with:
path: .venv
- uses: actions/checkout@v4
with:
repository: pytorch/executorch
Expand All @@ -24,9 +27,10 @@ jobs:
key: ${{ runner.os }}-cmake-${{ hashFiles('executorch/CMakeLists.txt') }}
- name: Build executorch
run: |
python -m venv .venv
source .venv/bin/activate
cd executorch
pip install tomli zstd
PYTHON_EXECUTABLE=python \
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON" \
./.ci/scripts/setup-linux.sh cmake
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ build/
bin/
executorch/
*.js
.venv/

0 comments on commit f44ba1a

Please sign in to comment.