Rename wsl_gpu.yml to wsl_gpu_tests.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Windows GPU tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: [self-hosted, Windows, GPU] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ilammy/msvc-dev-cmd@v1 | |
- name: Display the path | |
run: echo ${env:PATH} | |
- name: test compiler | |
run: cl | |
- name: gpu info | |
run: nvidia-smi | |
- name: directory info | |
run: ls | |
- name: nvidia compiler info | |
run: nvcc --version | |
- name: setup cmake | |
run: cmake -S . -B build -GNinja | |
- name: build | |
run: cmake --build build |