Skip to content

Commit

Permalink
Add CI testing via GitHub Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
evanramos-nvidia committed Jul 3, 2024
1 parent 6957108 commit 13ef8f9
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Test

on: [pull_request, merge_group]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install-prerequisites
run: |
sudo apt-get update
sudo apt-get -y install nvidia-cuda-toolkit
- name: build
run: |
cd tests
mkdir build
cd build
cmake ..
make -j2
- name: run
run: |
cd tests || true
cd build || true
./runtest -t attributes
./runtest -t attributes -i inj
./runtest -t calls
./runtest -t calls -i inj
./runtest -t calls -i calls
./runtest -t categories
./runtest -t categories -i inj
./runtest -t coverage
./runtest -t coverage -i inj
./runtest -t coveragec
./runtest -t coveragec -i inj
./runtest -t coverage-counter
./runtest -t coverage-counter -i inj
./runtest -t coverage-cu
./runtest -t coverage-cu -i inj
./runtest -t coverage-mem
./runtest -t coverage-mem -i inj
./runtest -t coverage-memcudart
./runtest -t coverage-memcudart -i inj
./runtest -t coverage-payload
./runtest -t coverage-payload -i inj
./runtest -t domains
./runtest -t domains -i inj
./runtest -t linkerdupes
./runtest -t linkerdupes -i inj
./runtest -t regstrings
./runtest -t regstrings -i inj
./runtest -t self
./runtest -t self -i inj
./runtest -t self -i self

0 comments on commit 13ef8f9

Please sign in to comment.