diff options
| author | coco875 <pereira.jannin@gmail.com> | 2024-01-24 22:56:05 +0100 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-01-24 16:52:59 -0600 |
| commit | 943f871516758950c01bebce3eb0e84755bf3c20 (patch) | |
| tree | d7f711f93d45370397185170b4d5d669e2051658 | |
| parent | 6ad949e535f694e80038aede9189ac8b68c0ddba (diff) | |
fix windows problem and make linux more portable
| -rw-r--r-- | .github/workflows/linux_build.yml | 7 | ||||
| -rw-r--r-- | .github/workflows/windows_build.yml | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index 8347de6..4f5678f 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -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*
\ No newline at end of file + path: build-cmake/torch
\ No newline at end of file diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 0bf6acd..361ffb2 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -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: |
