Skip to content

Commit db90396

Browse files
authored
Create getdeps_centos.yml
1 parent 664a854 commit db90396

File tree

1 file changed

+262
-0
lines changed

1 file changed

+262
-0
lines changed

.github/workflows/getdeps_centos.yml

+262
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
# This file was @generated by getdeps.py
2+
3+
name: centos
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
build:
18+
runs-on: 16-core-ubuntu
19+
container: "quay.io/centos/centos:stream9"
20+
steps:
21+
- uses: actions/checkout@v4
22+
- name: Update system package info
23+
run: dnf update -y
24+
- name: Install sudo and git
25+
run: dnf install -y sudo git cmake gcc procps
26+
- name: Install system deps
27+
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive cachelib && sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive patchelf
28+
- id: paths
29+
name: Query paths
30+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages query-paths --recursive --src-dir=. cachelib >> "$GITHUB_OUTPUT"
31+
- name: Fetch libaio
32+
if: ${{ steps.paths.outputs.libaio_SOURCE }}
33+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libaio
34+
- name: Fetch ninja
35+
if: ${{ steps.paths.outputs.ninja_SOURCE }}
36+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja
37+
- name: Fetch cmake
38+
if: ${{ steps.paths.outputs.cmake_SOURCE }}
39+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake
40+
- name: Fetch fmt
41+
if: ${{ steps.paths.outputs.fmt_SOURCE }}
42+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt
43+
- name: Fetch googletest
44+
if: ${{ steps.paths.outputs.googletest_SOURCE }}
45+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest
46+
- name: Fetch xxhash
47+
if: ${{ steps.paths.outputs.xxhash_SOURCE }}
48+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xxhash
49+
- name: Fetch zstd
50+
if: ${{ steps.paths.outputs.zstd_SOURCE }}
51+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd
52+
- name: Fetch zlib
53+
if: ${{ steps.paths.outputs.zlib_SOURCE }}
54+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zlib
55+
- name: Fetch boost
56+
if: ${{ steps.paths.outputs.boost_SOURCE }}
57+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost
58+
- name: Fetch double-conversion
59+
if: ${{ steps.paths.outputs.double-conversion_SOURCE }}
60+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion
61+
- name: Fetch fast_float
62+
if: ${{ steps.paths.outputs.fast_float_SOURCE }}
63+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fast_float
64+
- name: Fetch gflags
65+
if: ${{ steps.paths.outputs.gflags_SOURCE }}
66+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags
67+
- name: Fetch glog
68+
if: ${{ steps.paths.outputs.glog_SOURCE }}
69+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog
70+
- name: Fetch libdwarf
71+
if: ${{ steps.paths.outputs.libdwarf_SOURCE }}
72+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libdwarf
73+
- name: Fetch libevent
74+
if: ${{ steps.paths.outputs.libevent_SOURCE }}
75+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent
76+
- name: Fetch lz4
77+
if: ${{ steps.paths.outputs.lz4_SOURCE }}
78+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests lz4
79+
- name: Fetch snappy
80+
if: ${{ steps.paths.outputs.snappy_SOURCE }}
81+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy
82+
- name: Fetch sparsemap
83+
if: ${{ steps.paths.outputs.sparsemap_SOURCE }}
84+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests sparsemap
85+
- name: Fetch bz2
86+
if: ${{ steps.paths.outputs.bz2_SOURCE }}
87+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests bz2
88+
- name: Fetch openssl
89+
if: ${{ steps.paths.outputs.openssl_SOURCE }}
90+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl
91+
- name: Fetch liboqs
92+
if: ${{ steps.paths.outputs.liboqs_SOURCE }}
93+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests liboqs
94+
- name: Fetch autoconf
95+
if: ${{ steps.paths.outputs.autoconf_SOURCE }}
96+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf
97+
- name: Fetch automake
98+
if: ${{ steps.paths.outputs.automake_SOURCE }}
99+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake
100+
- name: Fetch libtool
101+
if: ${{ steps.paths.outputs.libtool_SOURCE }}
102+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool
103+
- name: Fetch numa
104+
if: ${{ steps.paths.outputs.numa_SOURCE }}
105+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests numa
106+
- name: Fetch libiberty
107+
if: ${{ steps.paths.outputs.libiberty_SOURCE }}
108+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libiberty
109+
- name: Fetch libsodium
110+
if: ${{ steps.paths.outputs.libsodium_SOURCE }}
111+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium
112+
- name: Fetch libunwind
113+
if: ${{ steps.paths.outputs.libunwind_SOURCE }}
114+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libunwind
115+
- name: Fetch xz
116+
if: ${{ steps.paths.outputs.xz_SOURCE }}
117+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xz
118+
- name: Fetch folly
119+
if: ${{ steps.paths.outputs.folly_SOURCE }}
120+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly
121+
- name: Fetch fizz
122+
if: ${{ steps.paths.outputs.fizz_SOURCE }}
123+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fizz
124+
- name: Fetch wangle
125+
if: ${{ steps.paths.outputs.wangle_SOURCE }}
126+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests wangle
127+
- name: Fetch mvfst
128+
if: ${{ steps.paths.outputs.mvfst_SOURCE }}
129+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests mvfst
130+
- name: Fetch libffi
131+
if: ${{ steps.paths.outputs.libffi_SOURCE }}
132+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libffi
133+
- name: Fetch ncurses
134+
if: ${{ steps.paths.outputs.ncurses_SOURCE }}
135+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ncurses
136+
- name: Fetch python
137+
if: ${{ steps.paths.outputs.python_SOURCE }}
138+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests python
139+
- name: Fetch fbthrift
140+
if: ${{ steps.paths.outputs.fbthrift_SOURCE }}
141+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fbthrift
142+
- name: Build libaio
143+
if: ${{ steps.paths.outputs.libaio_SOURCE }}
144+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libaio
145+
- name: Build ninja
146+
if: ${{ steps.paths.outputs.ninja_SOURCE }}
147+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ninja
148+
- name: Build cmake
149+
if: ${{ steps.paths.outputs.cmake_SOURCE }}
150+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests cmake
151+
- name: Build fmt
152+
if: ${{ steps.paths.outputs.fmt_SOURCE }}
153+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fmt
154+
- name: Build googletest
155+
if: ${{ steps.paths.outputs.googletest_SOURCE }}
156+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests googletest
157+
- name: Build xxhash
158+
if: ${{ steps.paths.outputs.xxhash_SOURCE }}
159+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests xxhash
160+
- name: Build zstd
161+
if: ${{ steps.paths.outputs.zstd_SOURCE }}
162+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zstd
163+
- name: Build zlib
164+
if: ${{ steps.paths.outputs.zlib_SOURCE }}
165+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests zlib
166+
- name: Build boost
167+
if: ${{ steps.paths.outputs.boost_SOURCE }}
168+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests boost
169+
- name: Build double-conversion
170+
if: ${{ steps.paths.outputs.double-conversion_SOURCE }}
171+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests double-conversion
172+
- name: Build fast_float
173+
if: ${{ steps.paths.outputs.fast_float_SOURCE }}
174+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fast_float
175+
- name: Build gflags
176+
if: ${{ steps.paths.outputs.gflags_SOURCE }}
177+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests gflags
178+
- name: Build glog
179+
if: ${{ steps.paths.outputs.glog_SOURCE }}
180+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests glog
181+
- name: Build libdwarf
182+
if: ${{ steps.paths.outputs.libdwarf_SOURCE }}
183+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libdwarf
184+
- name: Build libevent
185+
if: ${{ steps.paths.outputs.libevent_SOURCE }}
186+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libevent
187+
- name: Build lz4
188+
if: ${{ steps.paths.outputs.lz4_SOURCE }}
189+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests lz4
190+
- name: Build snappy
191+
if: ${{ steps.paths.outputs.snappy_SOURCE }}
192+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests snappy
193+
- name: Build sparsemap
194+
if: ${{ steps.paths.outputs.sparsemap_SOURCE }}
195+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests sparsemap
196+
- name: Build bz2
197+
if: ${{ steps.paths.outputs.bz2_SOURCE }}
198+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests bz2
199+
- name: Build openssl
200+
if: ${{ steps.paths.outputs.openssl_SOURCE }}
201+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests openssl
202+
- name: Build liboqs
203+
if: ${{ steps.paths.outputs.liboqs_SOURCE }}
204+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests liboqs
205+
- name: Build autoconf
206+
if: ${{ steps.paths.outputs.autoconf_SOURCE }}
207+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests autoconf
208+
- name: Build automake
209+
if: ${{ steps.paths.outputs.automake_SOURCE }}
210+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests automake
211+
- name: Build libtool
212+
if: ${{ steps.paths.outputs.libtool_SOURCE }}
213+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libtool
214+
- name: Build numa
215+
if: ${{ steps.paths.outputs.numa_SOURCE }}
216+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests numa
217+
- name: Build libiberty
218+
if: ${{ steps.paths.outputs.libiberty_SOURCE }}
219+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libiberty
220+
- name: Build libsodium
221+
if: ${{ steps.paths.outputs.libsodium_SOURCE }}
222+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libsodium
223+
- name: Build libunwind
224+
if: ${{ steps.paths.outputs.libunwind_SOURCE }}
225+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libunwind
226+
- name: Build xz
227+
if: ${{ steps.paths.outputs.xz_SOURCE }}
228+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests xz
229+
- name: Build folly
230+
if: ${{ steps.paths.outputs.folly_SOURCE }}
231+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests folly
232+
- name: Build fizz
233+
if: ${{ steps.paths.outputs.fizz_SOURCE }}
234+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fizz
235+
- name: Build wangle
236+
if: ${{ steps.paths.outputs.wangle_SOURCE }}
237+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests wangle
238+
- name: Build mvfst
239+
if: ${{ steps.paths.outputs.mvfst_SOURCE }}
240+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests mvfst
241+
- name: Build libffi
242+
if: ${{ steps.paths.outputs.libffi_SOURCE }}
243+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests libffi
244+
- name: Build ncurses
245+
if: ${{ steps.paths.outputs.ncurses_SOURCE }}
246+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests ncurses
247+
- name: Build python
248+
if: ${{ steps.paths.outputs.python_SOURCE }}
249+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests python
250+
- name: Build fbthrift
251+
if: ${{ steps.paths.outputs.fbthrift_SOURCE }}
252+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests fbthrift
253+
- name: Build cachelib
254+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. cachelib --project-install-prefix cachelib:/usr/local
255+
- name: Copy artifacts
256+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --strip --src-dir=. cachelib _artifacts/linux --project-install-prefix cachelib:/usr/local --final-install-prefix /usr/local
257+
- uses: actions/upload-artifact@v4
258+
with:
259+
name: cachelib
260+
path: _artifacts
261+
- name: Test cachelib
262+
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. cachelib --project-install-prefix cachelib:/usr/local

0 commit comments

Comments
 (0)