Fix mistake in github action

This commit is contained in:
2024-06-08 12:32:18 +02:00
parent 2f55b27691
commit 8f7f605670

View File

@@ -26,11 +26,9 @@ jobs:
run: | run: |
wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.3.1%2Bcpu.zip wget https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.3.1%2Bcpu.zip
unzip libtorch-cxx11-abi-shared-with-deps-2.3.1+cpu.zip unzip libtorch-cxx11-abi-shared-with-deps-2.3.1+cpu.zip
export LIBTORCH=`pwd`/libtorch
export Torch_DIR=`pwd`/libtorch
- name: Tests & build-wrapper - name: Tests & build-wrapper
run: | run: |
cmake -S . -B build -Wno-dev cmake -S . -B build -Wno-dev -DCMAKE_PREFIX_PATH=$(pwd)/libtorch
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/ --config Release
cd build cd build
make make