Skip to content

Commit 4e02446

Browse files
authored
Create test.yml
1 parent bbd73d4 commit 4e02446

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test Build on Ubuntu
2+
3+
on:
4+
push:
5+
branches:
6+
- '**' # Run on every push to any branch
7+
pull_request:
8+
branches:
9+
- '**' # Run on every pull request to any branch
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v3
18+
19+
- name: Install CMake and dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y cmake build-essential
23+
24+
- name: Build
25+
run: |
26+
mkdir build
27+
cd build
28+
cmake ..
29+
make

0 commit comments

Comments
 (0)