-
Notifications
You must be signed in to change notification settings - Fork 14
40 lines (35 loc) · 1.59 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: macchina-remote-sdk-ci
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
linux-gcc-cmake:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: sudo apt update && sudo apt install cmake ninja-build libssl-dev
- run: cmake -H. -Bcmake-build -GNinja -DENABLE_WEBTUNNELCLIENTLIB=ON -DENABLE_WEBTUNNELAGENTLIB=ON && cmake --build cmake-build --target all
raspberrypi-gcc-cmake:
runs-on: raspberrypi
steps:
- uses: actions/checkout@v3
- run: cmake -H. -Bcmake-build -GNinja -DENABLE_WEBTUNNELCLIENTLIB=ON -DENABLE_WEBTUNNELAGENTLIB=ON && cmake --build cmake-build --target all
macos-clang-cmake:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: brew install openssl@3 ninja
- run: cmake -H. -Bcmake-build -GNinja -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl@3 -DENABLE_WEBTUNNELCLIENTLIB=ON -DENABLE_WEBTUNNELAGENTLIB=ON && cmake --build cmake-build --target all
windows-msvc22x64-cmake:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- run: cmake -G "Visual Studio 17 2022" -A x64 -S. -Bcmake-build -DENABLE_WEBTUNNELCLIENTLIB=ON -DENABLE_WEBTUNNELAGENTLIB=ON
- run: cmake --build cmake-build --config Release
windows-msvc22x86-cmake:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- run: cmake -G "Visual Studio 17 2022" -A Win32 -S. -Bcmake-build -DENABLE_WEBTUNNELCLIENTLIB=ON -DENABLE_WEBTUNNELAGENTLIB=ON
- run: cmake --build cmake-build --config Release