Skip to content

Commit

Permalink
add testing ci (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Disservin authored Aug 26, 2023
1 parent 911a754 commit b4222c9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/chess-library.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Chess Library

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
ChessLibrary:
name: Chess Library
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Installing required packages
run: |
sudo apt-get update
g++ --version
- name: Running Tests
run: |
cd tests
make -j2
./out
2 changes: 1 addition & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ debug:
g++ -O3 -flto $(NATIVE) -std=c++17 -g3 -fno-omit-frame-pointer -Wall main.cpp -o out

clean:
rm *.o *.exe
rm -f *.o *.exe


0 comments on commit b4222c9

Please sign in to comment.