Skip to content

Commit b99a6d7

Browse files
author
Pranav Bhandari
committed
update workflows
1 parent b75d1e2 commit b99a6d7

File tree

3 files changed

+485
-0
lines changed

3 files changed

+485
-0
lines changed

.github/workflows/getdeps_linux.yml

+174
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# This file was @generated by getdeps.py
2+
3+
name: linux
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read # to fetch code (actions/checkout)
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-22.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Fetch ninja
22+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja
23+
- name: Fetch cmake
24+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake
25+
- name: Fetch fmt
26+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt
27+
- name: Fetch googletest
28+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest
29+
- name: Fetch xxhash
30+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xxhash
31+
- name: Fetch zstd
32+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
33+
- name: Fetch zlib
34+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib
35+
- name: Fetch boost
36+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
37+
- name: Fetch double-conversion
38+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
39+
- name: Fetch fast_float
40+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fast_float
41+
- name: Fetch gflags
42+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags
43+
- name: Fetch glog
44+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog
45+
- name: Fetch libdwarf
46+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libdwarf
47+
- name: Fetch libevent
48+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent
49+
- name: Fetch lz4
50+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4
51+
- name: Fetch snappy
52+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
53+
- name: Fetch sparsemap
54+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests sparsemap
55+
- name: Fetch bz2
56+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests bz2
57+
- name: Fetch openssl
58+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl
59+
- name: Fetch liboqs
60+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests liboqs
61+
- name: Fetch autoconf
62+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf
63+
- name: Fetch automake
64+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
65+
- name: Fetch libtool
66+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
67+
- name: Fetch numa
68+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests numa
69+
- name: Fetch libiberty
70+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libiberty
71+
- name: Fetch libsodium
72+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
73+
- name: Fetch libunwind
74+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libunwind
75+
- name: Fetch xz
76+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xz
77+
- name: Fetch folly
78+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
79+
- name: Fetch fizz
80+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz
81+
- name: Fetch wangle
82+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle
83+
- name: Fetch mvfst
84+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests mvfst
85+
- name: Fetch libffi
86+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libffi
87+
- name: Fetch ncurses
88+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ncurses
89+
- name: Fetch python
90+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python
91+
- name: Fetch fbthrift
92+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fbthrift
93+
- name: Build ninja
94+
run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja
95+
- name: Build cmake
96+
run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake
97+
- name: Build fmt
98+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt
99+
- name: Build googletest
100+
run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest
101+
- name: Build xxhash
102+
run: python3 build/fbcode_builder/getdeps.py build --no-tests xxhash
103+
- name: Build zstd
104+
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
105+
- name: Build zlib
106+
run: python3 build/fbcode_builder/getdeps.py build --no-tests zlib
107+
- name: Build boost
108+
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
109+
- name: Build double-conversion
110+
run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion
111+
- name: Build fast_float
112+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fast_float
113+
- name: Build gflags
114+
run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags
115+
- name: Build glog
116+
run: python3 build/fbcode_builder/getdeps.py build --no-tests glog
117+
- name: Build libdwarf
118+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libdwarf
119+
- name: Build libevent
120+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent
121+
- name: Build lz4
122+
run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4
123+
- name: Build snappy
124+
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
125+
- name: Build sparsemap
126+
run: python3 build/fbcode_builder/getdeps.py build --no-tests sparsemap
127+
- name: Build bz2
128+
run: python3 build/fbcode_builder/getdeps.py build --no-tests bz2
129+
- name: Build openssl
130+
run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl
131+
- name: Build liboqs
132+
run: python3 build/fbcode_builder/getdeps.py build --no-tests liboqs
133+
- name: Build autoconf
134+
run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf
135+
- name: Build automake
136+
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
137+
- name: Build libtool
138+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
139+
- name: Build numa
140+
run: python3 build/fbcode_builder/getdeps.py build --no-tests numa
141+
- name: Build libiberty
142+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libiberty
143+
- name: Build libsodium
144+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
145+
- name: Build libunwind
146+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libunwind
147+
- name: Build xz
148+
run: python3 build/fbcode_builder/getdeps.py build --no-tests xz
149+
- name: Build folly
150+
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
151+
- name: Build fizz
152+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz
153+
- name: Build wangle
154+
run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle
155+
- name: Build mvfst
156+
run: python3 build/fbcode_builder/getdeps.py build --no-tests mvfst
157+
- name: Build libffi
158+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libffi
159+
- name: Build ncurses
160+
run: python3 build/fbcode_builder/getdeps.py build --no-tests ncurses
161+
- name: Build python
162+
run: python3 build/fbcode_builder/getdeps.py build --no-tests python
163+
- name: Build fbthrift
164+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fbthrift
165+
- name: Build cachelib
166+
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. cachelib --project-install-prefix cachelib:/usr/local
167+
- name: Copy artifacts
168+
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --strip --src-dir=. cachelib _artifacts/linux --project-install-prefix cachelib:/usr/local --final-install-prefix /usr/local
169+
- uses: actions/upload-artifact@v4
170+
with:
171+
name: cachelib
172+
path: _artifacts
173+
- name: Test cachelib
174+
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. cachelib --project-install-prefix cachelib:/usr/local

.github/workflows/getdeps_mac.yml

+150
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# This file was @generated by getdeps.py
2+
3+
name: mac
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
pull_request:
10+
branches:
11+
- main
12+
13+
permissions:
14+
contents: read # to fetch code (actions/checkout)
15+
16+
jobs:
17+
build:
18+
runs-on: macOS-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Fetch ninja
22+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja
23+
- name: Fetch cmake
24+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake
25+
- name: Fetch fmt
26+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt
27+
- name: Fetch googletest
28+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest
29+
- name: Fetch xxhash
30+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xxhash
31+
- name: Fetch zstd
32+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
33+
- name: Fetch zlib
34+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zlib
35+
- name: Fetch boost
36+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
37+
- name: Fetch double-conversion
38+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
39+
- name: Fetch fast_float
40+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fast_float
41+
- name: Fetch gflags
42+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags
43+
- name: Fetch glog
44+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog
45+
- name: Fetch libdwarf
46+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libdwarf
47+
- name: Fetch lz4
48+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests lz4
49+
- name: Fetch openssl
50+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl
51+
- name: Fetch snappy
52+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
53+
- name: Fetch sparsemap
54+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests sparsemap
55+
- name: Fetch liboqs
56+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests liboqs
57+
- name: Fetch libevent
58+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent
59+
- name: Fetch autoconf
60+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf
61+
- name: Fetch automake
62+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
63+
- name: Fetch libtool
64+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
65+
- name: Fetch numa
66+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests numa
67+
- name: Fetch libsodium
68+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
69+
- name: Fetch xz
70+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests xz
71+
- name: Fetch folly
72+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
73+
- name: Fetch fizz
74+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz
75+
- name: Fetch wangle
76+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle
77+
- name: Fetch mvfst
78+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests mvfst
79+
- name: Fetch fbthrift
80+
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fbthrift
81+
- name: Build ninja
82+
run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja
83+
- name: Build cmake
84+
run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake
85+
- name: Build fmt
86+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt
87+
- name: Build googletest
88+
run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest
89+
- name: Build xxhash
90+
run: python3 build/fbcode_builder/getdeps.py build --no-tests xxhash
91+
- name: Build zstd
92+
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
93+
- name: Build zlib
94+
run: python3 build/fbcode_builder/getdeps.py build --no-tests zlib
95+
- name: Build boost
96+
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
97+
- name: Build double-conversion
98+
run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion
99+
- name: Build fast_float
100+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fast_float
101+
- name: Build gflags
102+
run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags
103+
- name: Build glog
104+
run: python3 build/fbcode_builder/getdeps.py build --no-tests glog
105+
- name: Build libdwarf
106+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libdwarf
107+
- name: Build lz4
108+
run: python3 build/fbcode_builder/getdeps.py build --no-tests lz4
109+
- name: Build openssl
110+
run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl
111+
- name: Build snappy
112+
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
113+
- name: Build sparsemap
114+
run: python3 build/fbcode_builder/getdeps.py build --no-tests sparsemap
115+
- name: Build liboqs
116+
run: python3 build/fbcode_builder/getdeps.py build --no-tests liboqs
117+
- name: Build libevent
118+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent
119+
- name: Build autoconf
120+
run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf
121+
- name: Build automake
122+
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
123+
- name: Build libtool
124+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
125+
- name: Build numa
126+
run: python3 build/fbcode_builder/getdeps.py build --no-tests numa
127+
- name: Build libsodium
128+
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
129+
- name: Build xz
130+
run: python3 build/fbcode_builder/getdeps.py build --no-tests xz
131+
- name: Build folly
132+
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
133+
- name: Build fizz
134+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz
135+
- name: Build wangle
136+
run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle
137+
- name: Build mvfst
138+
run: python3 build/fbcode_builder/getdeps.py build --no-tests mvfst
139+
- name: Build fbthrift
140+
run: python3 build/fbcode_builder/getdeps.py build --no-tests fbthrift
141+
- name: Build cachelib
142+
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. cachelib --project-install-prefix cachelib:/usr/local
143+
- name: Copy artifacts
144+
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. cachelib _artifacts/mac --project-install-prefix cachelib:/usr/local --final-install-prefix /usr/local
145+
- uses: actions/upload-artifact@v4
146+
with:
147+
name: cachelib
148+
path: _artifacts
149+
- name: Test cachelib
150+
run: python3 build/fbcode_builder/getdeps.py test --src-dir=. cachelib --project-install-prefix cachelib:/usr/local

0 commit comments

Comments
 (0)