Skip to content

Commit 27b24f3

Browse files
authored
Add Github Actions CI/CD
1 parent f06b1ab commit 27b24f3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/c-cpp.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: install PHP
17+
run: >
18+
sudo apt install software-properties-common && \
19+
sudo add-apt-repository ppa:ondrej/php && \
20+
sudo apt-get update \
21+
sudo apt-get install php7.4 php7.4-dev
22+
- name: make
23+
run: make
24+
- name: make install
25+
run: sudo make install

0 commit comments

Comments
 (0)