Skip to content

Commit d502492

Browse files
committed
Initial CI workflow
Signed-off-by: Błażej Sowa <[email protected]>
1 parent ba1c4c0 commit d502492

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#
2+
# Copyright (c) 2023 ZettaScale Technology
3+
#
4+
# This program and the accompanying materials are made available under the
5+
# terms of the Eclipse Public License 2.0 which is available at
6+
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
7+
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
8+
#
9+
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
10+
#
11+
# Contributors:
12+
# Błażej Sowa, <[email protected]>
13+
#
14+
name: freertos_plus_tcp
15+
16+
on:
17+
push:
18+
branches: [ '**' ]
19+
pull_request:
20+
branches: [ '**' ]
21+
22+
jobs:
23+
build:
24+
name: Build on ${{ matrix.os }}
25+
runs-on: ${{ matrix.os }}
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
os: [ubuntu-latest]
30+
steps:
31+
- uses: actions/checkout@v2
32+
- uses: jwlawson/[email protected]
33+
- name: Install requirements
34+
run: |
35+
sudo apt update
36+
sudo apt install -y ninja-build libslirp-dev
37+
- name: Build examples
38+
run: |
39+
cd examples/freertos_plus_tcp
40+
cmake -Bbuild -G"Ninja Multi-Config"
41+
cmake --build ./build --config Debug

0 commit comments

Comments
 (0)