mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
fix windows problem and make linux more portable
This commit is contained in:
@@ -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
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user