Skip to content

Cleanup PR

Cleanup PR #4

Workflow file for this run

name: Run C++ tests
on:
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev mesa-common-dev libc++1
- name: Setup Conda environment.
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: gpudrive
environment-file: environment.yml
- name: Install dependencies and build the project with Poetry
run: |
conda activate gpudrive
poetry install
- name: Run tests
run: |
cd build/
ctest