File tree 5 files changed +36
-1
lines changed
5 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 76
76
config :
77
77
- name : " Apple Silicon macOS runner"
78
78
runner : macos-14
79
+ cmake_version : " 3.31.6"
79
80
- name : " Intel macOS runner"
80
81
runner : macos-14-large
82
+ cmake_version : " 3.31.6"
81
83
82
84
steps :
83
85
- name : Checkout repository
90
92
brew update
91
93
brew install bison flex libyaml openssl pkgconfig || true
92
94
95
+ - name : Install cmake
96
+ uses : jwlawson/actions-setup-cmake@v2
97
+ with :
98
+ cmake-version : " ${{ matrix.config.cmake_version }}"
99
+
93
100
- name : Build Fluent Bit packages
94
101
run : |
95
102
export LIBRARY_PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib:$LIBRARY_PATH
Original file line number Diff line number Diff line change @@ -85,16 +85,19 @@ jobs:
85
85
openssl_dir : C:\vcpkg\packages\openssl_x86-windows-static
86
86
cmake_additional_opt : " "
87
87
vcpkg_triplet : x86-windows-static
88
+ cmake_version : " 3.31.6"
88
89
- name : " Windows 64bit"
89
90
arch : x64
90
91
openssl_dir : C:\vcpkg\packages\openssl_x64-windows-static
91
92
cmake_additional_opt : " "
92
93
vcpkg_triplet : x64-windows-static
94
+ cmake_version : " 3.31.6"
93
95
- name : " Windows 64bit (Arm64)"
94
96
arch : amd64_arm64
95
97
openssl_dir : C:\vcpkg\packages\openssl_arm64-windows-static
96
98
cmake_additional_opt : " -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_SYSTEM_VERSION=10.0 -DCMAKE_SYSTEM_PROCESSOR=ARM64"
97
99
vcpkg_triplet : arm64-windows-static
100
+ cmake_version : " 3.31.6"
98
101
permissions :
99
102
contents : read
100
103
# Default environment variables can be overridden below. To prevent library pollution - without this other random libraries may be found on the path leading to failures.
@@ -113,6 +116,7 @@ jobs:
113
116
Copy-Item -Path C:\WinFlexBison/win_bison.exe C:\WinFlexBison/bison.exe
114
117
Copy-Item -Path C:\WinFlexBison/win_flex.exe C:\WinFlexBison/flex.exe
115
118
echo "C:\WinFlexBison" | Out-File -FilePath $env:GITHUB_PATH -Append
119
+ choco install cmake --version "${{ matrix.config.cmake_version }}" --force
116
120
env :
117
121
WINFLEXBISON : https://github.com/lexxmark/winflexbison/releases/download/v2.5.22/win_flex_bison-2.5.22.zip
118
122
shell : pwsh
Original file line number Diff line number Diff line change @@ -39,11 +39,13 @@ jobs:
39
39
openssl_dir : C:\vcpkg\packages\openssl_x86-windows-static
40
40
cmake_additional_opt : " "
41
41
vcpkg_triplet : x86-windows-static
42
+ cmake_version : " 3.31.6"
42
43
- name : " Windows 64bit"
43
44
arch : x64
44
45
openssl_dir : C:\vcpkg\packages\openssl_x64-windows-static
45
46
cmake_additional_opt : " "
46
47
vcpkg_triplet : x64-windows-static
48
+ cmake_version : " 3.31.6"
47
49
permissions :
48
50
contents : read
49
51
# Default environment variables can be overridden below. To prevent library pollution - without this other random libraries may be found on the path leading to failures.
62
64
Copy-Item -Path C:\WinFlexBison/win_bison.exe C:\WinFlexBison/bison.exe
63
65
Copy-Item -Path C:\WinFlexBison/win_flex.exe C:\WinFlexBison/flex.exe
64
66
echo "C:\WinFlexBison" | Out-File -FilePath $env:GITHUB_PATH -Append
67
+ choco install cmake --version "${{ matrix.config.cmake_version }}" --force
65
68
env :
66
69
WINFLEXBISON : https://github.com/lexxmark/winflexbison/releases/download/v2.5.22/win_flex_bison-2.5.22.zip
67
70
shell : pwsh
Original file line number Diff line number Diff line change 40
40
matrix :
41
41
flb_option :
42
42
- " -DFLB_PREFER_SYSTEM_LIBS=On"
43
+ cmake_version :
44
+ - " 3.31.6"
43
45
compiler :
44
46
- gcc :
45
47
cc : gcc
59
61
tar --strip-components=1 -xzC /tmp/libbacktrace/ && \
60
62
pushd /tmp/libbacktrace/build && ../configure && make && sudo make install && popd
61
63
64
+ - name : Install cmake
65
+ uses : jwlawson/actions-setup-cmake@v2
66
+ with :
67
+ cmake-version : " ${{ matrix.cmake_version }}"
68
+
62
69
- name : Checkout Fluent Bit code
63
70
uses : actions/checkout@v4
64
71
Original file line number Diff line number Diff line change 51
51
- " -DFLB_SANITIZE_THREAD=On"
52
52
- " -DFLB_SIMD=On"
53
53
- " -DFLB_SIMD=Off"
54
+ cmake_version :
55
+ - " 3.31.6"
54
56
compiler :
55
57
- gcc :
56
58
cc : gcc
72
74
sudo apt-get install -y gcc-7 g++-7 clang-6.0 libsystemd-dev gcovr libyaml-dev libbpf-dev linux-tools-common
73
75
sudo ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symbolizer || true
74
76
77
+ - name : Install cmake
78
+ uses : jwlawson/actions-setup-cmake@v2
79
+ with :
80
+ cmake-version : " ${{ matrix.cmake_version }}"
81
+
75
82
- uses : actions/checkout@v4
76
83
77
84
- uses : actions/checkout@v4
@@ -106,9 +113,16 @@ jobs:
106
113
- " -DFLB_JEMALLOC=Off"
107
114
- " -DFLB_SANITIZE_MEMORY=On"
108
115
- " -DFLB_SANITIZE_THREAD=On"
116
+ cmake_version :
117
+ - " 3.31.6"
109
118
permissions :
110
119
contents : read
111
120
steps :
121
+ - name : Install cmake
122
+ uses : jwlawson/actions-setup-cmake@v2
123
+ with :
124
+ cmake-version : " ${{ matrix.cmake_version }}"
125
+
112
126
- uses : actions/checkout@v4
113
127
- uses : actions/checkout@v4
114
128
with :
@@ -151,7 +165,7 @@ jobs:
151
165
- name : Setup environment
152
166
run : |
153
167
sudo apt-get update
154
- sudo apt-get install -y gcc-9 g++-9 clang-12 cmake flex bison libsystemd-dev gcovr libyaml-dev libbpf-dev linux-tools-common
168
+ sudo apt-get install -y cmake gcc-9 g++-9 clang-12 flex bison libsystemd-dev gcovr libyaml-dev libbpf-dev linux-tools-common
155
169
sudo ln -s /usr/bin/llvm-symbolizer-12 /usr/bin/llvm-symbolizer || true
156
170
157
171
- name : Build and test with arm runners
You can’t perform that action at this time.
0 commit comments