Skip to content

Warp Bitonic Sort Tests #11

Warp Bitonic Sort Tests

Warp Bitonic Sort Tests #11

Workflow file for this run

name: Build with CUDA and C++
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Install CUDA and dependencies
run: |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
# install CUDA toolkit
sudo apt-get -y install nvidia-cuda-toolkit
# Install other necessary dependencies like build-essential
sudo apt-get install -y build-essential
sudo apt-get install libgtest-dev
# Verify that CUDA is installed
nvcc --version
g++ --version
- name: Build with Makefile
run: |
# Make sure the Makefile exists and then build the project
if [ -f makefile ]; then
make
else
echo "Makefile not found!"
exit 1
fi
- name: Run tests
run: |
# Run tests
#./test_bitonic_sort
echo "No tests to run"