diff options
Diffstat (limited to '.github/workflows/mac_build.yml')
| -rw-r--r-- | .github/workflows/mac_build.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/mac_build.yml b/.github/workflows/mac_build.yml new file mode 100644 index 0000000..db92ef7 --- /dev/null +++ b/.github/workflows/mac_build.yml @@ -0,0 +1,29 @@ +name: Windows Compile + +on: + push: + branches: [ "*" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + if: false + runs-on: macOS-latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: brew install cmake ninja xcode-tools + - name: Build + 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/ + - name: Publish packaged artifacts + uses: actions/upload-artifact@v4 + with: + name: mac-x64 + path: torch-release
\ No newline at end of file |
