Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf17548f

Browse files
committed
ci: craate new workflow to test cmake
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent62eabec commitf17548f

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)

[8]ページ先頭

©2009-2025 Movatter.jp