Test Benchmark Examples #201
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: Test Examples | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '59 23 * * 0,2,4' | |
env: | |
### CUDA paths for MSU ICER HPC with "module load CUDA/11.8" | |
CUDA_PATH: '/opt/software/CUDA/11.8.0' | |
LD_LIBRARY_PATH: '/opt/software/CUDA/11.8.0/lib64' | |
### CUDA paths for MSU ICER HPC with "module load GCC/8.3.0 CUDA/10.2.89" | |
# CUDA_PATH: '/opt/software/CUDA/10.2.89-GCC-8.3.0' | |
# LD_LIBRARY_PATH: '/opt/software/CUDA/10.2.89-GCC-8.3.0/lib64' | |
jobs: | |
run_examples: | |
runs-on: self-hosted | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check CUDA | |
run: nvcc -V | |
- name: Install dependencies | |
run: | |
python -m pip install -U pip | |
pip install tox -U | |
- name: Test with tox | |
run: tox -e py38-gpu-test |