-
Notifications
You must be signed in to change notification settings - Fork 285
996 lines (992 loc) · 50.6 KB
/
edenfs_linux.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
# This file was @generated by getdeps.py
name: EdenFS Linux
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Show disk space at start
run: df -h
- name: Free up disk space
run: sudo rm -rf /usr/local/lib/android
- name: Show disk space after freeing up
run: df -h
- name: Update system package info
run: sudo --preserve-env=http_proxy apt-get update
- name: Install system deps
run: sudo --preserve-env=http_proxy python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --no-tests --recursive eden && sudo --preserve-env=http_proxy python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --no-tests --recursive patchelf
- id: paths
name: Query paths
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages query-paths --no-tests --recursive --src-dir=. eden >> "$GITHUB_OUTPUT"
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
- name: Fetch lmdb
if: ${{ steps.paths.outputs.lmdb_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests lmdb
- name: Fetch ninja
if: ${{ steps.paths.outputs.ninja_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ninja
- name: Fetch cmake
if: ${{ steps.paths.outputs.cmake_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cmake
- name: Fetch blake3
if: ${{ steps.paths.outputs.blake3_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests blake3
- name: Fetch cpptoml
if: ${{ steps.paths.outputs.cpptoml_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests cpptoml
- name: Fetch fmt
if: ${{ steps.paths.outputs.fmt_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fmt
- name: Fetch gflags
if: ${{ steps.paths.outputs.gflags_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests gflags
- name: Fetch glog
if: ${{ steps.paths.outputs.glog_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests glog
- name: Fetch googletest
if: ${{ steps.paths.outputs.googletest_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests googletest
- name: Fetch xxhash
if: ${{ steps.paths.outputs.xxhash_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xxhash
- name: Fetch zstd
if: ${{ steps.paths.outputs.zstd_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zstd
- name: Fetch boost
if: ${{ steps.paths.outputs.boost_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests boost
- name: Fetch double-conversion
if: ${{ steps.paths.outputs.double-conversion_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests double-conversion
- name: Fetch fast_float
if: ${{ steps.paths.outputs.fast_float_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fast_float
- name: Fetch libdwarf
if: ${{ steps.paths.outputs.libdwarf_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libdwarf
- name: Fetch libevent
if: ${{ steps.paths.outputs.libevent_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libevent
- name: Fetch lz4
if: ${{ steps.paths.outputs.lz4_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests lz4
- name: Fetch snappy
if: ${{ steps.paths.outputs.snappy_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests snappy
- name: Fetch libgit2
if: ${{ steps.paths.outputs.libgit2_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libgit2
- name: Fetch python-ptyprocess
if: ${{ steps.paths.outputs.python-ptyprocess_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests python-ptyprocess
- name: Fetch pexpect
if: ${{ steps.paths.outputs.pexpect_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests pexpect
- name: Fetch bz2
if: ${{ steps.paths.outputs.bz2_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests bz2
- name: Fetch python-filelock
if: ${{ steps.paths.outputs.python-filelock_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests python-filelock
- name: Fetch python-toml
if: ${{ steps.paths.outputs.python-toml_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests python-toml
- name: Fetch re2
if: ${{ steps.paths.outputs.re2_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests re2
- name: Fetch rocksdb
if: ${{ steps.paths.outputs.rocksdb_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests rocksdb
- name: Fetch sqlite3
if: ${{ steps.paths.outputs.sqlite3_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests sqlite3
- name: Fetch zlib
if: ${{ steps.paths.outputs.zlib_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests zlib
- name: Fetch openssl
if: ${{ steps.paths.outputs.openssl_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests openssl
- name: Fetch liboqs
if: ${{ steps.paths.outputs.liboqs_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests liboqs
- name: Fetch autoconf
if: ${{ steps.paths.outputs.autoconf_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests autoconf
- name: Fetch automake
if: ${{ steps.paths.outputs.automake_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests automake
- name: Fetch libtool
if: ${{ steps.paths.outputs.libtool_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libtool
- name: Fetch nghttp2
if: ${{ steps.paths.outputs.nghttp2_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests nghttp2
- name: Fetch libcurl
if: ${{ steps.paths.outputs.libcurl_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libcurl
- name: Fetch libffi
if: ${{ steps.paths.outputs.libffi_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libffi
- name: Fetch ncurses
if: ${{ steps.paths.outputs.ncurses_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests ncurses
- name: Fetch python
if: ${{ steps.paths.outputs.python_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests python
- name: Fetch libsodium
if: ${{ steps.paths.outputs.libsodium_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libsodium
- name: Fetch libiberty
if: ${{ steps.paths.outputs.libiberty_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libiberty
- name: Fetch libunwind
if: ${{ steps.paths.outputs.libunwind_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests libunwind
- name: Fetch xz
if: ${{ steps.paths.outputs.xz_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests xz
- name: Fetch folly
if: ${{ steps.paths.outputs.folly_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests folly
- name: Fetch fizz
if: ${{ steps.paths.outputs.fizz_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fizz
- name: Fetch mvfst
if: ${{ steps.paths.outputs.mvfst_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests mvfst
- name: Fetch wangle
if: ${{ steps.paths.outputs.wangle_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests wangle
- name: Fetch fbthrift
if: ${{ steps.paths.outputs.fbthrift_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fbthrift
- name: Fetch fb303
if: ${{ steps.paths.outputs.fb303_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests fb303
- name: Fetch rust-shed
if: ${{ steps.paths.outputs.rust-shed_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests rust-shed
- name: Fetch edencommon
if: ${{ steps.paths.outputs.edencommon_SOURCE }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fetch --no-tests edencommon
- name: Restore lmdb from cache
id: restore_lmdb
if: ${{ steps.paths.outputs.lmdb_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.lmdb_INSTALL }}
key: ${{ steps.paths.outputs.lmdb_CACHE_KEY }}-install
- name: Build lmdb
if: ${{ steps.paths.outputs.lmdb_SOURCE && ! steps.restore_lmdb.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests lmdb
- name: Save lmdb to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.lmdb_SOURCE && ! steps.restore_lmdb.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.lmdb_INSTALL }}
key: ${{ steps.paths.outputs.lmdb_CACHE_KEY }}-install
- name: Restore ninja from cache
id: restore_ninja
if: ${{ steps.paths.outputs.ninja_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.ninja_INSTALL }}
key: ${{ steps.paths.outputs.ninja_CACHE_KEY }}-install
- name: Build ninja
if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests ninja
- name: Save ninja to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.ninja_SOURCE && ! steps.restore_ninja.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.ninja_INSTALL }}
key: ${{ steps.paths.outputs.ninja_CACHE_KEY }}-install
- name: Restore cmake from cache
id: restore_cmake
if: ${{ steps.paths.outputs.cmake_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.cmake_INSTALL }}
key: ${{ steps.paths.outputs.cmake_CACHE_KEY }}-install
- name: Build cmake
if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests cmake
- name: Save cmake to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.cmake_SOURCE && ! steps.restore_cmake.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.cmake_INSTALL }}
key: ${{ steps.paths.outputs.cmake_CACHE_KEY }}-install
- name: Restore blake3 from cache
id: restore_blake3
if: ${{ steps.paths.outputs.blake3_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.blake3_INSTALL }}
key: ${{ steps.paths.outputs.blake3_CACHE_KEY }}-install
- name: Build blake3
if: ${{ steps.paths.outputs.blake3_SOURCE && ! steps.restore_blake3.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests blake3
- name: Save blake3 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.blake3_SOURCE && ! steps.restore_blake3.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.blake3_INSTALL }}
key: ${{ steps.paths.outputs.blake3_CACHE_KEY }}-install
- name: Restore cpptoml from cache
id: restore_cpptoml
if: ${{ steps.paths.outputs.cpptoml_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.cpptoml_INSTALL }}
key: ${{ steps.paths.outputs.cpptoml_CACHE_KEY }}-install
- name: Build cpptoml
if: ${{ steps.paths.outputs.cpptoml_SOURCE && ! steps.restore_cpptoml.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests cpptoml
- name: Save cpptoml to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.cpptoml_SOURCE && ! steps.restore_cpptoml.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.cpptoml_INSTALL }}
key: ${{ steps.paths.outputs.cpptoml_CACHE_KEY }}-install
- name: Restore fmt from cache
id: restore_fmt
if: ${{ steps.paths.outputs.fmt_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.fmt_INSTALL }}
key: ${{ steps.paths.outputs.fmt_CACHE_KEY }}-install
- name: Build fmt
if: ${{ steps.paths.outputs.fmt_SOURCE && ! steps.restore_fmt.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests fmt
- name: Save fmt to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.fmt_SOURCE && ! steps.restore_fmt.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.fmt_INSTALL }}
key: ${{ steps.paths.outputs.fmt_CACHE_KEY }}-install
- name: Restore gflags from cache
id: restore_gflags
if: ${{ steps.paths.outputs.gflags_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.gflags_INSTALL }}
key: ${{ steps.paths.outputs.gflags_CACHE_KEY }}-install
- name: Build gflags
if: ${{ steps.paths.outputs.gflags_SOURCE && ! steps.restore_gflags.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests gflags
- name: Save gflags to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.gflags_SOURCE && ! steps.restore_gflags.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.gflags_INSTALL }}
key: ${{ steps.paths.outputs.gflags_CACHE_KEY }}-install
- name: Restore glog from cache
id: restore_glog
if: ${{ steps.paths.outputs.glog_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.glog_INSTALL }}
key: ${{ steps.paths.outputs.glog_CACHE_KEY }}-install
- name: Build glog
if: ${{ steps.paths.outputs.glog_SOURCE && ! steps.restore_glog.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests glog
- name: Save glog to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.glog_SOURCE && ! steps.restore_glog.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.glog_INSTALL }}
key: ${{ steps.paths.outputs.glog_CACHE_KEY }}-install
- name: Restore googletest from cache
id: restore_googletest
if: ${{ steps.paths.outputs.googletest_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.googletest_INSTALL }}
key: ${{ steps.paths.outputs.googletest_CACHE_KEY }}-install
- name: Build googletest
if: ${{ steps.paths.outputs.googletest_SOURCE && ! steps.restore_googletest.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests googletest
- name: Save googletest to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.googletest_SOURCE && ! steps.restore_googletest.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.googletest_INSTALL }}
key: ${{ steps.paths.outputs.googletest_CACHE_KEY }}-install
- name: Restore xxhash from cache
id: restore_xxhash
if: ${{ steps.paths.outputs.xxhash_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.xxhash_INSTALL }}
key: ${{ steps.paths.outputs.xxhash_CACHE_KEY }}-install
- name: Build xxhash
if: ${{ steps.paths.outputs.xxhash_SOURCE && ! steps.restore_xxhash.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests xxhash
- name: Save xxhash to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.xxhash_SOURCE && ! steps.restore_xxhash.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.xxhash_INSTALL }}
key: ${{ steps.paths.outputs.xxhash_CACHE_KEY }}-install
- name: Restore zstd from cache
id: restore_zstd
if: ${{ steps.paths.outputs.zstd_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.zstd_INSTALL }}
key: ${{ steps.paths.outputs.zstd_CACHE_KEY }}-install
- name: Build zstd
if: ${{ steps.paths.outputs.zstd_SOURCE && ! steps.restore_zstd.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests zstd
- name: Save zstd to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.zstd_SOURCE && ! steps.restore_zstd.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.zstd_INSTALL }}
key: ${{ steps.paths.outputs.zstd_CACHE_KEY }}-install
- name: Restore boost from cache
id: restore_boost
if: ${{ steps.paths.outputs.boost_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.boost_INSTALL }}
key: ${{ steps.paths.outputs.boost_CACHE_KEY }}-install
- name: Build boost
if: ${{ steps.paths.outputs.boost_SOURCE && ! steps.restore_boost.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests boost
- name: Save boost to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.boost_SOURCE && ! steps.restore_boost.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.boost_INSTALL }}
key: ${{ steps.paths.outputs.boost_CACHE_KEY }}-install
- name: Restore double-conversion from cache
id: restore_double-conversion
if: ${{ steps.paths.outputs.double-conversion_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.double-conversion_INSTALL }}
key: ${{ steps.paths.outputs.double-conversion_CACHE_KEY }}-install
- name: Build double-conversion
if: ${{ steps.paths.outputs.double-conversion_SOURCE && ! steps.restore_double-conversion.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests double-conversion
- name: Save double-conversion to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.double-conversion_SOURCE && ! steps.restore_double-conversion.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.double-conversion_INSTALL }}
key: ${{ steps.paths.outputs.double-conversion_CACHE_KEY }}-install
- name: Restore fast_float from cache
id: restore_fast_float
if: ${{ steps.paths.outputs.fast_float_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.fast_float_INSTALL }}
key: ${{ steps.paths.outputs.fast_float_CACHE_KEY }}-install
- name: Build fast_float
if: ${{ steps.paths.outputs.fast_float_SOURCE && ! steps.restore_fast_float.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests fast_float
- name: Save fast_float to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.fast_float_SOURCE && ! steps.restore_fast_float.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.fast_float_INSTALL }}
key: ${{ steps.paths.outputs.fast_float_CACHE_KEY }}-install
- name: Restore libdwarf from cache
id: restore_libdwarf
if: ${{ steps.paths.outputs.libdwarf_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libdwarf_INSTALL }}
key: ${{ steps.paths.outputs.libdwarf_CACHE_KEY }}-install
- name: Build libdwarf
if: ${{ steps.paths.outputs.libdwarf_SOURCE && ! steps.restore_libdwarf.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libdwarf
- name: Save libdwarf to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libdwarf_SOURCE && ! steps.restore_libdwarf.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libdwarf_INSTALL }}
key: ${{ steps.paths.outputs.libdwarf_CACHE_KEY }}-install
- name: Restore libevent from cache
id: restore_libevent
if: ${{ steps.paths.outputs.libevent_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libevent_INSTALL }}
key: ${{ steps.paths.outputs.libevent_CACHE_KEY }}-install
- name: Build libevent
if: ${{ steps.paths.outputs.libevent_SOURCE && ! steps.restore_libevent.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libevent
- name: Save libevent to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libevent_SOURCE && ! steps.restore_libevent.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libevent_INSTALL }}
key: ${{ steps.paths.outputs.libevent_CACHE_KEY }}-install
- name: Restore lz4 from cache
id: restore_lz4
if: ${{ steps.paths.outputs.lz4_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.lz4_INSTALL }}
key: ${{ steps.paths.outputs.lz4_CACHE_KEY }}-install
- name: Build lz4
if: ${{ steps.paths.outputs.lz4_SOURCE && ! steps.restore_lz4.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests lz4
- name: Save lz4 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.lz4_SOURCE && ! steps.restore_lz4.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.lz4_INSTALL }}
key: ${{ steps.paths.outputs.lz4_CACHE_KEY }}-install
- name: Restore snappy from cache
id: restore_snappy
if: ${{ steps.paths.outputs.snappy_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.snappy_INSTALL }}
key: ${{ steps.paths.outputs.snappy_CACHE_KEY }}-install
- name: Build snappy
if: ${{ steps.paths.outputs.snappy_SOURCE && ! steps.restore_snappy.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests snappy
- name: Save snappy to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.snappy_SOURCE && ! steps.restore_snappy.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.snappy_INSTALL }}
key: ${{ steps.paths.outputs.snappy_CACHE_KEY }}-install
- name: Restore libgit2 from cache
id: restore_libgit2
if: ${{ steps.paths.outputs.libgit2_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libgit2_INSTALL }}
key: ${{ steps.paths.outputs.libgit2_CACHE_KEY }}-install
- name: Build libgit2
if: ${{ steps.paths.outputs.libgit2_SOURCE && ! steps.restore_libgit2.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libgit2
- name: Save libgit2 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libgit2_SOURCE && ! steps.restore_libgit2.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libgit2_INSTALL }}
key: ${{ steps.paths.outputs.libgit2_CACHE_KEY }}-install
- name: Restore python-ptyprocess from cache
id: restore_python-ptyprocess
if: ${{ steps.paths.outputs.python-ptyprocess_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.python-ptyprocess_INSTALL }}
key: ${{ steps.paths.outputs.python-ptyprocess_CACHE_KEY }}-install
- name: Build python-ptyprocess
if: ${{ steps.paths.outputs.python-ptyprocess_SOURCE && ! steps.restore_python-ptyprocess.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests python-ptyprocess
- name: Save python-ptyprocess to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.python-ptyprocess_SOURCE && ! steps.restore_python-ptyprocess.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.python-ptyprocess_INSTALL }}
key: ${{ steps.paths.outputs.python-ptyprocess_CACHE_KEY }}-install
- name: Restore pexpect from cache
id: restore_pexpect
if: ${{ steps.paths.outputs.pexpect_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.pexpect_INSTALL }}
key: ${{ steps.paths.outputs.pexpect_CACHE_KEY }}-install
- name: Build pexpect
if: ${{ steps.paths.outputs.pexpect_SOURCE && ! steps.restore_pexpect.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests pexpect
- name: Save pexpect to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.pexpect_SOURCE && ! steps.restore_pexpect.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.pexpect_INSTALL }}
key: ${{ steps.paths.outputs.pexpect_CACHE_KEY }}-install
- name: Restore bz2 from cache
id: restore_bz2
if: ${{ steps.paths.outputs.bz2_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.bz2_INSTALL }}
key: ${{ steps.paths.outputs.bz2_CACHE_KEY }}-install
- name: Build bz2
if: ${{ steps.paths.outputs.bz2_SOURCE && ! steps.restore_bz2.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests bz2
- name: Save bz2 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.bz2_SOURCE && ! steps.restore_bz2.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.bz2_INSTALL }}
key: ${{ steps.paths.outputs.bz2_CACHE_KEY }}-install
- name: Restore python-filelock from cache
id: restore_python-filelock
if: ${{ steps.paths.outputs.python-filelock_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.python-filelock_INSTALL }}
key: ${{ steps.paths.outputs.python-filelock_CACHE_KEY }}-install
- name: Build python-filelock
if: ${{ steps.paths.outputs.python-filelock_SOURCE && ! steps.restore_python-filelock.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests python-filelock
- name: Save python-filelock to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.python-filelock_SOURCE && ! steps.restore_python-filelock.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.python-filelock_INSTALL }}
key: ${{ steps.paths.outputs.python-filelock_CACHE_KEY }}-install
- name: Restore python-toml from cache
id: restore_python-toml
if: ${{ steps.paths.outputs.python-toml_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.python-toml_INSTALL }}
key: ${{ steps.paths.outputs.python-toml_CACHE_KEY }}-install
- name: Build python-toml
if: ${{ steps.paths.outputs.python-toml_SOURCE && ! steps.restore_python-toml.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests python-toml
- name: Save python-toml to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.python-toml_SOURCE && ! steps.restore_python-toml.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.python-toml_INSTALL }}
key: ${{ steps.paths.outputs.python-toml_CACHE_KEY }}-install
- name: Restore re2 from cache
id: restore_re2
if: ${{ steps.paths.outputs.re2_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.re2_INSTALL }}
key: ${{ steps.paths.outputs.re2_CACHE_KEY }}-install
- name: Build re2
if: ${{ steps.paths.outputs.re2_SOURCE && ! steps.restore_re2.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests re2
- name: Save re2 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.re2_SOURCE && ! steps.restore_re2.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.re2_INSTALL }}
key: ${{ steps.paths.outputs.re2_CACHE_KEY }}-install
- name: Restore rocksdb from cache
id: restore_rocksdb
if: ${{ steps.paths.outputs.rocksdb_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.rocksdb_INSTALL }}
key: ${{ steps.paths.outputs.rocksdb_CACHE_KEY }}-install
- name: Build rocksdb
if: ${{ steps.paths.outputs.rocksdb_SOURCE && ! steps.restore_rocksdb.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests rocksdb
- name: Save rocksdb to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.rocksdb_SOURCE && ! steps.restore_rocksdb.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.rocksdb_INSTALL }}
key: ${{ steps.paths.outputs.rocksdb_CACHE_KEY }}-install
- name: Restore sqlite3 from cache
id: restore_sqlite3
if: ${{ steps.paths.outputs.sqlite3_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.sqlite3_INSTALL }}
key: ${{ steps.paths.outputs.sqlite3_CACHE_KEY }}-install
- name: Build sqlite3
if: ${{ steps.paths.outputs.sqlite3_SOURCE && ! steps.restore_sqlite3.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests sqlite3
- name: Save sqlite3 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.sqlite3_SOURCE && ! steps.restore_sqlite3.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.sqlite3_INSTALL }}
key: ${{ steps.paths.outputs.sqlite3_CACHE_KEY }}-install
- name: Restore zlib from cache
id: restore_zlib
if: ${{ steps.paths.outputs.zlib_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.zlib_INSTALL }}
key: ${{ steps.paths.outputs.zlib_CACHE_KEY }}-install
- name: Build zlib
if: ${{ steps.paths.outputs.zlib_SOURCE && ! steps.restore_zlib.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests zlib
- name: Save zlib to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.zlib_SOURCE && ! steps.restore_zlib.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.zlib_INSTALL }}
key: ${{ steps.paths.outputs.zlib_CACHE_KEY }}-install
- name: Restore openssl from cache
id: restore_openssl
if: ${{ steps.paths.outputs.openssl_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.openssl_INSTALL }}
key: ${{ steps.paths.outputs.openssl_CACHE_KEY }}-install
- name: Build openssl
if: ${{ steps.paths.outputs.openssl_SOURCE && ! steps.restore_openssl.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests openssl
- name: Save openssl to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.openssl_SOURCE && ! steps.restore_openssl.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.openssl_INSTALL }}
key: ${{ steps.paths.outputs.openssl_CACHE_KEY }}-install
- name: Restore liboqs from cache
id: restore_liboqs
if: ${{ steps.paths.outputs.liboqs_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.liboqs_INSTALL }}
key: ${{ steps.paths.outputs.liboqs_CACHE_KEY }}-install
- name: Build liboqs
if: ${{ steps.paths.outputs.liboqs_SOURCE && ! steps.restore_liboqs.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests liboqs
- name: Save liboqs to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.liboqs_SOURCE && ! steps.restore_liboqs.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.liboqs_INSTALL }}
key: ${{ steps.paths.outputs.liboqs_CACHE_KEY }}-install
- name: Restore autoconf from cache
id: restore_autoconf
if: ${{ steps.paths.outputs.autoconf_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.autoconf_INSTALL }}
key: ${{ steps.paths.outputs.autoconf_CACHE_KEY }}-install
- name: Build autoconf
if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests autoconf
- name: Save autoconf to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.autoconf_SOURCE && ! steps.restore_autoconf.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.autoconf_INSTALL }}
key: ${{ steps.paths.outputs.autoconf_CACHE_KEY }}-install
- name: Restore automake from cache
id: restore_automake
if: ${{ steps.paths.outputs.automake_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.automake_INSTALL }}
key: ${{ steps.paths.outputs.automake_CACHE_KEY }}-install
- name: Build automake
if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests automake
- name: Save automake to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.automake_SOURCE && ! steps.restore_automake.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.automake_INSTALL }}
key: ${{ steps.paths.outputs.automake_CACHE_KEY }}-install
- name: Restore libtool from cache
id: restore_libtool
if: ${{ steps.paths.outputs.libtool_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libtool_INSTALL }}
key: ${{ steps.paths.outputs.libtool_CACHE_KEY }}-install
- name: Build libtool
if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libtool
- name: Save libtool to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libtool_SOURCE && ! steps.restore_libtool.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libtool_INSTALL }}
key: ${{ steps.paths.outputs.libtool_CACHE_KEY }}-install
- name: Restore nghttp2 from cache
id: restore_nghttp2
if: ${{ steps.paths.outputs.nghttp2_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.nghttp2_INSTALL }}
key: ${{ steps.paths.outputs.nghttp2_CACHE_KEY }}-install
- name: Build nghttp2
if: ${{ steps.paths.outputs.nghttp2_SOURCE && ! steps.restore_nghttp2.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests nghttp2
- name: Save nghttp2 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.nghttp2_SOURCE && ! steps.restore_nghttp2.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.nghttp2_INSTALL }}
key: ${{ steps.paths.outputs.nghttp2_CACHE_KEY }}-install
- name: Restore libcurl from cache
id: restore_libcurl
if: ${{ steps.paths.outputs.libcurl_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libcurl_INSTALL }}
key: ${{ steps.paths.outputs.libcurl_CACHE_KEY }}-install
- name: Build libcurl
if: ${{ steps.paths.outputs.libcurl_SOURCE && ! steps.restore_libcurl.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libcurl
- name: Save libcurl to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libcurl_SOURCE && ! steps.restore_libcurl.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libcurl_INSTALL }}
key: ${{ steps.paths.outputs.libcurl_CACHE_KEY }}-install
- name: Restore libffi from cache
id: restore_libffi
if: ${{ steps.paths.outputs.libffi_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libffi_INSTALL }}
key: ${{ steps.paths.outputs.libffi_CACHE_KEY }}-install
- name: Build libffi
if: ${{ steps.paths.outputs.libffi_SOURCE && ! steps.restore_libffi.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libffi
- name: Save libffi to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libffi_SOURCE && ! steps.restore_libffi.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libffi_INSTALL }}
key: ${{ steps.paths.outputs.libffi_CACHE_KEY }}-install
- name: Restore ncurses from cache
id: restore_ncurses
if: ${{ steps.paths.outputs.ncurses_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.ncurses_INSTALL }}
key: ${{ steps.paths.outputs.ncurses_CACHE_KEY }}-install
- name: Build ncurses
if: ${{ steps.paths.outputs.ncurses_SOURCE && ! steps.restore_ncurses.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests ncurses
- name: Save ncurses to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.ncurses_SOURCE && ! steps.restore_ncurses.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.ncurses_INSTALL }}
key: ${{ steps.paths.outputs.ncurses_CACHE_KEY }}-install
- name: Restore python from cache
id: restore_python
if: ${{ steps.paths.outputs.python_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.python_INSTALL }}
key: ${{ steps.paths.outputs.python_CACHE_KEY }}-install
- name: Build python
if: ${{ steps.paths.outputs.python_SOURCE && ! steps.restore_python.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests python
- name: Save python to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.python_SOURCE && ! steps.restore_python.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.python_INSTALL }}
key: ${{ steps.paths.outputs.python_CACHE_KEY }}-install
- name: Restore libsodium from cache
id: restore_libsodium
if: ${{ steps.paths.outputs.libsodium_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libsodium_INSTALL }}
key: ${{ steps.paths.outputs.libsodium_CACHE_KEY }}-install
- name: Build libsodium
if: ${{ steps.paths.outputs.libsodium_SOURCE && ! steps.restore_libsodium.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libsodium
- name: Save libsodium to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libsodium_SOURCE && ! steps.restore_libsodium.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libsodium_INSTALL }}
key: ${{ steps.paths.outputs.libsodium_CACHE_KEY }}-install
- name: Restore libiberty from cache
id: restore_libiberty
if: ${{ steps.paths.outputs.libiberty_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libiberty_INSTALL }}
key: ${{ steps.paths.outputs.libiberty_CACHE_KEY }}-install
- name: Build libiberty
if: ${{ steps.paths.outputs.libiberty_SOURCE && ! steps.restore_libiberty.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libiberty
- name: Save libiberty to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libiberty_SOURCE && ! steps.restore_libiberty.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libiberty_INSTALL }}
key: ${{ steps.paths.outputs.libiberty_CACHE_KEY }}-install
- name: Restore libunwind from cache
id: restore_libunwind
if: ${{ steps.paths.outputs.libunwind_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.libunwind_INSTALL }}
key: ${{ steps.paths.outputs.libunwind_CACHE_KEY }}-install
- name: Build libunwind
if: ${{ steps.paths.outputs.libunwind_SOURCE && ! steps.restore_libunwind.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests libunwind
- name: Save libunwind to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.libunwind_SOURCE && ! steps.restore_libunwind.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.libunwind_INSTALL }}
key: ${{ steps.paths.outputs.libunwind_CACHE_KEY }}-install
- name: Restore xz from cache
id: restore_xz
if: ${{ steps.paths.outputs.xz_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.xz_INSTALL }}
key: ${{ steps.paths.outputs.xz_CACHE_KEY }}-install
- name: Build xz
if: ${{ steps.paths.outputs.xz_SOURCE && ! steps.restore_xz.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests xz
- name: Save xz to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.xz_SOURCE && ! steps.restore_xz.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.xz_INSTALL }}
key: ${{ steps.paths.outputs.xz_CACHE_KEY }}-install
- name: Restore folly from cache
id: restore_folly
if: ${{ steps.paths.outputs.folly_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.folly_INSTALL }}
key: ${{ steps.paths.outputs.folly_CACHE_KEY }}-install
- name: Build folly
if: ${{ steps.paths.outputs.folly_SOURCE && ! steps.restore_folly.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests folly
- name: Save folly to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.folly_SOURCE && ! steps.restore_folly.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.folly_INSTALL }}
key: ${{ steps.paths.outputs.folly_CACHE_KEY }}-install
- name: Restore fizz from cache
id: restore_fizz
if: ${{ steps.paths.outputs.fizz_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.fizz_INSTALL }}
key: ${{ steps.paths.outputs.fizz_CACHE_KEY }}-install
- name: Build fizz
if: ${{ steps.paths.outputs.fizz_SOURCE && ! steps.restore_fizz.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests fizz
- name: Save fizz to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.fizz_SOURCE && ! steps.restore_fizz.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.fizz_INSTALL }}
key: ${{ steps.paths.outputs.fizz_CACHE_KEY }}-install
- name: Restore mvfst from cache
id: restore_mvfst
if: ${{ steps.paths.outputs.mvfst_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.mvfst_INSTALL }}
key: ${{ steps.paths.outputs.mvfst_CACHE_KEY }}-install
- name: Build mvfst
if: ${{ steps.paths.outputs.mvfst_SOURCE && ! steps.restore_mvfst.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests mvfst
- name: Save mvfst to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.mvfst_SOURCE && ! steps.restore_mvfst.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.mvfst_INSTALL }}
key: ${{ steps.paths.outputs.mvfst_CACHE_KEY }}-install
- name: Restore wangle from cache
id: restore_wangle
if: ${{ steps.paths.outputs.wangle_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.wangle_INSTALL }}
key: ${{ steps.paths.outputs.wangle_CACHE_KEY }}-install
- name: Build wangle
if: ${{ steps.paths.outputs.wangle_SOURCE && ! steps.restore_wangle.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests wangle
- name: Save wangle to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.wangle_SOURCE && ! steps.restore_wangle.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.wangle_INSTALL }}
key: ${{ steps.paths.outputs.wangle_CACHE_KEY }}-install
- name: Restore fbthrift from cache
id: restore_fbthrift
if: ${{ steps.paths.outputs.fbthrift_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.fbthrift_INSTALL }}
key: ${{ steps.paths.outputs.fbthrift_CACHE_KEY }}-install
- name: Build fbthrift
if: ${{ steps.paths.outputs.fbthrift_SOURCE && ! steps.restore_fbthrift.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests fbthrift
- name: Save fbthrift to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.fbthrift_SOURCE && ! steps.restore_fbthrift.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.fbthrift_INSTALL }}
key: ${{ steps.paths.outputs.fbthrift_CACHE_KEY }}-install
- name: Restore fb303 from cache
id: restore_fb303
if: ${{ steps.paths.outputs.fb303_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.fb303_INSTALL }}
key: ${{ steps.paths.outputs.fb303_CACHE_KEY }}-install
- name: Build fb303
if: ${{ steps.paths.outputs.fb303_SOURCE && ! steps.restore_fb303.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests fb303
- name: Save fb303 to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.fb303_SOURCE && ! steps.restore_fb303.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.fb303_INSTALL }}
key: ${{ steps.paths.outputs.fb303_CACHE_KEY }}-install
- name: Restore rust-shed from cache
id: restore_rust-shed
if: ${{ steps.paths.outputs.rust-shed_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.rust-shed_INSTALL }}
key: ${{ steps.paths.outputs.rust-shed_CACHE_KEY }}-install
- name: Build rust-shed
if: ${{ steps.paths.outputs.rust-shed_SOURCE && ! steps.restore_rust-shed.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests rust-shed
- name: Save rust-shed to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.rust-shed_SOURCE && ! steps.restore_rust-shed.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.rust-shed_INSTALL }}
key: ${{ steps.paths.outputs.rust-shed_CACHE_KEY }}-install
- name: Restore edencommon from cache
id: restore_edencommon
if: ${{ steps.paths.outputs.edencommon_SOURCE }}
uses: actions/cache/restore@v4
with:
path: ${{ steps.paths.outputs.edencommon_INSTALL }}
key: ${{ steps.paths.outputs.edencommon_CACHE_KEY }}-install
- name: Build edencommon
if: ${{ steps.paths.outputs.edencommon_SOURCE && ! steps.restore_edencommon.outputs.cache-hit }}
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --free-up-disk --no-tests edencommon
- name: Save edencommon to cache
uses: actions/cache/save@v4
if: ${{ steps.paths.outputs.edencommon_SOURCE && ! steps.restore_edencommon.outputs.cache-hit }}
with:
path: ${{ steps.paths.outputs.edencommon_INSTALL }}
key: ${{ steps.paths.outputs.edencommon_CACHE_KEY }}-install
- name: Build eden
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --no-tests --src-dir=. eden --project-install-prefix eden:/usr/local
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --strip --src-dir=. eden _artifacts/linux --project-install-prefix eden:/usr/local --final-install-prefix /usr/local
- uses: actions/upload-artifact@v4
with:
name: eden
path: _artifacts
- name: Show disk space at end
if: always()
run: df -h