Skip to content

Commit bec9917

Browse files
Gwillhevake
authored andcommitted
update actions
1 parent 1070be8 commit bec9917

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/cmake.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CMake Build
2+
3+
on:
4+
push:
5+
branches: [ master, develop ]
6+
pull_request:
7+
branches: [ master, develop ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: setup
14+
run: |
15+
sudo apt update
16+
sudo apt install build-essential cmake
17+
sudo apt install libgtest-dev libgmock-dev libmosquitto-dev
18+
- uses: actions/checkout@v3
19+
- name: build
20+
run: cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/.tbox && cmake --build build
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: Make Build
22

33
on:
44
push:
@@ -15,6 +15,6 @@ jobs:
1515
sudo apt update
1616
sudo apt install build-essential
1717
sudo apt install libgtest-dev libgmock-dev libmosquitto-dev
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
- name: build
2020
run: make

0 commit comments

Comments
 (0)