Skip to content

Commit

Permalink
added precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelrahim-hentabli committed Apr 28, 2024
1 parent 24c11bf commit 6d971bd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: pre-commit

on:
pull_request:
push:
branches: [main]

jobs:
Build-And-test:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: 'true'
- name: install ffmpeg
run: |
sudo apt-get update
sudo apt-get install ffmpeg
- run: mkdir build
- run: cd build
- name: Run Cmake Config step
run: cmake ../ray-tracing
- name: Run build
run: cmake --build . --parallel 4

0 comments on commit 6d971bd

Please sign in to comment.