You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/cmake-multi-platform.yml
+9-14Lines changed: 9 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -11,30 +11,28 @@ jobs:
11
11
runs-on: ${{ matrix.os }}
12
12
13
13
strategy:
14
-
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
14
+
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
15
15
fail-fast: false
16
16
17
-
# Set up a matrix to run the following 3 configurations:
18
-
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
19
-
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
20
-
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
21
-
#
22
-
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
17
+
# Currently supported:
18
+
# - Linux + GCC
19
+
# - Linux + CLANG
20
+
# Planned:
21
+
# - Windows + CL
23
22
matrix:
24
23
os: [ubuntu-latest, windows-latest]
25
24
build_type: [Release]
26
25
c_compiler: [gcc, clang, cl]
27
26
include:
28
-
- os: windows-latest
29
-
c_compiler: cl
30
-
cpp_compiler: cl
31
27
- os: ubuntu-latest
32
28
c_compiler: gcc
33
29
cpp_compiler: g++
34
30
- os: ubuntu-latest
35
31
c_compiler: clang
36
32
cpp_compiler: clang++
37
33
exclude:
34
+
- os: windows-latest
35
+
c_compiler: cl
38
36
- os: windows-latest
39
37
c_compiler: gcc
40
38
- os: windows-latest
@@ -48,22 +46,20 @@ jobs:
48
46
submodules: "recursive"
49
47
fetch-depth: 1
50
48
49
+
# Dependecies needed only for Linux - Modbus Communication
51
50
- name: Install dependencies
52
51
run: |
53
52
sudo apt-get update
54
53
sudo apt-get install -y libnet1-dev
55
54
if: matrix.os == 'ubuntu-latest'
56
55
57
56
- name: Set reusable strings
58
-
# Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file.
# Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
0 commit comments