Skip to content

Commit

Permalink
Experimental NVCC CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jfalcou committed Mar 4, 2024
1 parent 18f7ec2 commit 8cf8896
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,31 @@ jobs:
- name: Running Unit Tests
run: cd build && ctest --output-on-failure -j 2

##################################################################################################
## NVCC targets
##################################################################################################
nvcc:
runs-on: ubuntu-latest
container:
image: nvidia/cuda:12.3.2-devel-ubi8
steps:
- name: Fetch current branch
uses: actions/checkout@v4.1.1
- name: Compiling Unit Tests
run: |
mkdir build && cd build
nvcc ../test/arch.cpp -std=c++17 -I../include -o arch.exe
nvcc ../test/compiler.cpp -std=c++17 -I../include -o compiler.exe
nvcc ../test/data_model.cpp -std=c++17 -I../include -o data_model.exe
nvcc ../test/libc.cpp -std=c++17 -I../include -o libc.exe
nvcc ../test/os.cpp -std=c++17 -I../include -o os.exe
nvcc ../test/simd.cpp -std=c++17 -I../include -o simd.exe
nvcc ../test/stdlib.cpp -std=c++17 -I../include -o stdlib.exe
- name: Running Unit Tests
run: |
cd build
arch.exe && compiler.exe && data_model.exe && libc.exe && os.exe && simd.exe && stdlib.exe
##################################################################################################
## DPC++ Target
##################################################################################################
Expand Down

0 comments on commit 8cf8896

Please sign in to comment.