Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
evanramos-nvidia committed Aug 20, 2024
1 parent a4b3cfc commit 20a37c1
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true

- name: install-prerequisites
run: |
sudo apt-get update
Expand Down Expand Up @@ -126,6 +130,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true

- name: install-prerequisites
run: |
sudo apt-get update
Expand Down Expand Up @@ -252,14 +260,18 @@ jobs:
name: Windows Server 2022
runs-on: windows-2022
steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: cuda-env
auto-update-conda: true

- uses: actions/checkout@v4
- name: conda-create
shell: cmd
run: |
conda create -y --name cuda-env
- name: install-prerequisites
- name: conda-install
shell: cmd
run: |
conda install -y --name cuda-env cuda-minimal-build
Expand All @@ -270,7 +282,7 @@ jobs:
cd tests
mkdir build
cd build
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" && cmake -G "NMake Makefiles" .. && nmake
"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && cmake -G "NMake Makefiles" -DCMAKE_CUDA_COMPILER="%CONDA%/envs/cuda-env/Library/bin/nvcc.exe" .. && nmake
- name: run
shell: cmd
Expand All @@ -282,14 +294,18 @@ jobs:
name: Windows Server 2019
runs-on: windows-2019
steps:
- uses: actions/checkout@v4

- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: cuda-env
auto-update-conda: true

- uses: actions/checkout@v4
- name: conda-create
shell: cmd
run: |
conda create -y --name cuda-env
- name: install-prerequisites
- name: conda-install
shell: cmd
run: |
conda install -y --name cuda-env cuda-minimal-build
Expand All @@ -300,7 +316,7 @@ jobs:
cd tests
mkdir build
cd build
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" && cmake -G "NMake Makefiles" .. && nmake
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && cmake -G "NMake Makefiles" -DCMAKE_CUDA_COMPILER="%CONDA%/envs/cuda-env/Library/bin/nvcc.exe" .. && nmake
- name: run
shell: cmd
Expand Down

0 comments on commit 20a37c1

Please sign in to comment.