fix windows problem and make linux more portable

This commit is contained in:
coco875
2024-01-24 16:52:59 -06:00
committed by Lywx
parent 6ad949e535
commit 943f871516
2 changed files with 7 additions and 2 deletions
+6 -1
View File
@@ -17,8 +17,13 @@ jobs:
run: |
cmake -H. -Bbuild-cmake -GNinja -DCMAKE_BUILD_TYPE=Release
cmake --build build-cmake -j
- name: Create Package
run: |
mkdir torch-release
mv build-cmake/torch torch-release/
mv /lib/libbz2.so.1.0 torch-release/
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with:
name: linux-x64
path: build-cmake/torch*
path: build-cmake/torch
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- name: Build
run: |
cmake -S . -B "build/x64" -G "Visual Studio 16 2019" -T v142 -A x64 -DCMAKE_BUILD_TYPE=Release
cmake --build build-cmake -j
cmake --build .\build\x64
- name: Publish packaged artifacts
uses: actions/upload-artifact@v4
with: