Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-window-2019-large #414

Merged
merged 4 commits into from
Oct 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
os: [ubuntu-20.04, windows-2019-large]
include:
- os: windows-2019
- os: windows-2019-large
arch: "-A x64"
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -25,28 +25,24 @@ jobs:
id: cuda-toolkit
with:
cuda: '11.8.0'
- name: Cleanup CUDA cache
uses: JesseTG/[email protected]
with:
path: D:\a\dorado\dorado\cuda_installer-windows-10.0.17763-11.8.0
- name: Install dependencies from apt
if: matrix.os == 'ubuntu-20.04'
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends libhdf5-dev libssl-dev libzstd-dev autoconf
- name: Set up Windows path
uses: myci-actions/export-env-var-powershell@1
if: matrix.os == 'windows-2019'
if: matrix.os == 'windows-2019-large'
with:
name: PATH
value: D:\a\dorado\dorado\dist\bin;$env:PATH
value: C:\a\dorado\dorado\dist\bin;$env:PATH
- name: Build dorado
run: |
cmake -S . -B cmake-build ${{ matrix.arch }}
cmake --build cmake-build --config Release -j 4
cmake --build cmake-build --config Release -j 8
- name: Cleanup torch
uses: JesseTG/[email protected]
with:
path: D:\a\dorado\dorado\3rdparty
path: C:\a\dorado\dorado\3rdparty
- name: Test dorado
run: |
cmake --build cmake-build --config Release --target install -j 4
ctest -C Release --test-dir cmake-build --output-on-failure
cmake --build cmake-build --config Release --target install -j 8
ctest -C Release --test-dir cmake-build --output-on-failure --verbose
Loading