mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
try two generator
This commit is contained in:
@@ -13,11 +13,12 @@ jobs:
|
||||
matrix:
|
||||
config: [Release, Debug]
|
||||
toolchain: [v143, clangcl]
|
||||
generate: [Visual Studio 17 2022, Ninja]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -S . -B "build/x64" -G "Visual Studio 17 2022" -T ${{ matrix.toolchain }} -A x64 -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }}
|
||||
cmake -S . -B "build/x64" -G ${{ matrix.generate }} -T ${{ matrix.toolchain }} -A x64 -DCMAKE_BUILD_TYPE:STRING=${{ matrix.config }}
|
||||
cmake --build ./build/x64
|
||||
- name: Publish packaged artifacts
|
||||
if: ${{ matrix.config == 'Release' }}
|
||||
|
||||
Reference in New Issue
Block a user