Unit, Static and other Tests #6
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: Unit, Static and other Tests | |
on: | |
create: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
dataloader_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: test the dataloader without / with sanitize address | |
run: | | |
cd dev/test | |
make test_dataloader | |
./test_dataloader | |
make clean | |
make test_dataloader TEST_CFLAGS="-fsanitize=address -fno-omit-frame-pointer" | |
./test_dataloader | |
ptx_and_sass_files: | |
runs-on: ubuntu-latest | |
container: | |
image: nvidia/cuda:12.4.1-devel-ubuntu22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Generate ptx/sass files and upload them to persistent storage | |
run: | | |
cd dev/cuda | |
mkdir -p ptx_sass_logs | |
make trimat_forward.ptx | |
- name: Copy files into storage | |
run: | | |
cp trimat_forward.ptx ptx_sass_logs/ | |
- name: Upload ptx/sass files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ptx_sass_files | |
path: ptx_sass_logs/ | |
retention-days: 30 # days to retain |