Skip to content

Commit 27df5b5

Browse files
committed
Add initial ci
1 parent 061d5fe commit 27df5b5

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: install dependencies
15+
run: sudo apt update && sudo apt install -y libglfw3-dev libcatch2-dev libfreetype-dev libgles-dev
16+
- name: compile
17+
run: cd entry/src/main/cpp && g++ test.cpp terminal.cpp -I/usr/include/freetype2 -DSTANDALONE -DTESTING -o test -lCatch2Main -lCatch2 -lfreetype -lGLESv2 -lglfw
18+
- name: test
19+
run: ./entry/src/main/cpp/test

0 commit comments

Comments
 (0)