Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI Workflow
on:
# Run this workflow every time a new commit pushed to upstream/fork repository.
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR.
pull_request:
branches-ignore:
- 'dependabot/**'
push:
branches:
- main
permissions:
contents: read # for actions/checkout to fetch code

env:
DEBIAN_FRONTEND: noninteractive

jobs:
build:
runs-on: ubuntu-latest
container:
image: nvidia/cuda:12.2.0-devel-ubuntu20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install C build tools
run: |
apt update
apt install -y cmake
- name: Build project
run: |
chmod +x ./build.sh
./build.sh