Skip to content

Commit

Permalink
chore: pr ci (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
amhndu authored Jan 4, 2025
1 parent f6801f9 commit 1164c32
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build_linux:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on:
pull_request:
branches: [ master ]

jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libsfml-dev
- name: Build
run: |
mkdir build/ && cd build/
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j4

0 comments on commit 1164c32

Please sign in to comment.