Skip to content

Commit 74d524e

Browse files
committed
ci: create new workflow to test cmake
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 62eabec commit 74d524e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/Cmake.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CMake config and build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
jobs:
11+
cmake:
12+
name: Check CMake usage
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@main
18+
19+
- name: Get latest CMake and Ninja
20+
uses: lukka/get-cmake@latest
21+
22+
- name: Configure
23+
run: |
24+
mkdir build
25+
cd build
26+
cmake -S ${{ env.GITHUB_WORKSPACE }}/CI/build/examples/BareMinimum -B . -G Ninja
27+
28+
- name: Build example
29+
working-directory: '${{ env.GITHUB_WORKSPACE }}/build'
30+
run: ninja

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy