mononoke: simplify GH actions workflows

Summary:
These were originally generated by getdeps, but since they
have been manually modified they are no longer regeneratable via
the getdeps tooling.

Simplify and just call the getdeps build rather than replicating
the discrete project fetches: they aren't required to break out
separately it just looks nice in the CI output--they will be fetched
on demand during the build anyway.

Reviewed By: simpkins

Differential Revision: D20660208

fbshipit-source-id: b6c63333e842d2bd1ba2fb574f8f082dcefef89e
This commit is contained in:
Wez Furlong 2020-03-26 05:46:49 -07:00 committed by Facebook GitHub Bot
parent dc17038e7f
commit da172f992a

View File

@ -1,5 +1,3 @@
# This file was NOT generated by getdeps.py
name: Mononoke CI
on:
@ -21,102 +19,6 @@ jobs:
toolchain: stable
default: true
profile: minimal
- name: Fetch boost
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch ninja
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja
- name: Fetch cmake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake
- name: Fetch fmt
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt
- name: Fetch googletest
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest
- name: Fetch python-six
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python-six
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- name: Fetch double-conversion
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
- name: Fetch gflags
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags
- name: Fetch glog
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog
- name: Fetch libevent
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Fetch snappy
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch folly
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch rsocket-cpp
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests rsocket-cpp
- name: Fetch autoconf
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf
- name: Fetch automake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
- name: Fetch libtool
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
- name: Fetch bison
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests bison
- name: Fetch libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch fizz
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz
- name: Fetch flex
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests flex
- name: Fetch wangle
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle
- name: Fetch fbthrift
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fbthrift
- name: Fetch rust-shed
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests rust-shed
- name: Build boost
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build ninja
run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja
- name: Build cmake
run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake
- name: Build fmt
run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt
- name: Build googletest
run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest
- name: Build python-six
run: python3 build/fbcode_builder/getdeps.py build --no-tests python-six
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- name: Build double-conversion
run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion
- name: Build gflags
run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags
- name: Build glog
run: python3 build/fbcode_builder/getdeps.py build --no-tests glog
- name: Build libevent
run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent
- name: Build snappy
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build rsocket-cpp
run: python3 build/fbcode_builder/getdeps.py build --no-tests rsocket-cpp
- name: Build autoconf
run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf
- name: Build automake
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
- name: Build libtool
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
- name: Build bison
run: python3 build/fbcode_builder/getdeps.py build --no-tests bison
- name: Build libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build fizz
run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz
- name: Build flex
run: python3 build/fbcode_builder/getdeps.py build --no-tests flex
- name: Build wangle
run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle
- name: Build fbthrift
run: python3 build/fbcode_builder/getdeps.py build --no-tests fbthrift
- name: Build rust-shed
run: python3 build/fbcode_builder/getdeps.py build --no-tests rust-shed
- name: Build mononoke
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. mononoke
- name: Copy artifacts
@ -155,106 +57,6 @@ jobs:
toolchain: stable
default: true
profile: minimal
- name: Fetch boost
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch openssl
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests openssl
- name: Fetch ninja
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests ninja
- name: Fetch cmake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests cmake
- name: Fetch fmt
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fmt
- name: Fetch googletest
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests googletest
- name: Fetch python-six
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests python-six
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- name: Fetch double-conversion
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests double-conversion
- name: Fetch gflags
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests gflags
- name: Fetch glog
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests glog
- name: Fetch libevent
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Fetch snappy
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch folly
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests folly
- name: Fetch rsocket-cpp
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests rsocket-cpp
- name: Fetch autoconf
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests autoconf
- name: Fetch automake
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests automake
- name: Fetch libtool
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libtool
- name: Fetch bison
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests bison
- name: Fetch libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch fizz
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fizz
- name: Fetch flex
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests flex
- name: Fetch wangle
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests wangle
- name: Fetch fbthrift
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests fbthrift
- name: Fetch rust-shed
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests rust-shed
- name: Build boost
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build openssl
run: python3 build/fbcode_builder/getdeps.py build --no-tests openssl
- name: Build ninja
run: python3 build/fbcode_builder/getdeps.py build --no-tests ninja
- name: Build cmake
run: python3 build/fbcode_builder/getdeps.py build --no-tests cmake
- name: Build fmt
run: python3 build/fbcode_builder/getdeps.py build --no-tests fmt
- name: Build googletest
run: python3 build/fbcode_builder/getdeps.py build --no-tests googletest
- name: Build python-six
run: python3 build/fbcode_builder/getdeps.py build --no-tests python-six
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- name: Build double-conversion
run: python3 build/fbcode_builder/getdeps.py build --no-tests double-conversion
- name: Build gflags
run: python3 build/fbcode_builder/getdeps.py build --no-tests gflags
- name: Build glog
run: python3 build/fbcode_builder/getdeps.py build --no-tests glog
- name: Build libevent
run: python3 build/fbcode_builder/getdeps.py build --no-tests libevent
- name: Build snappy
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py build --no-tests folly
- name: Build rsocket-cpp
run: python3 build/fbcode_builder/getdeps.py build --no-tests rsocket-cpp
- name: Build autoconf
run: python3 build/fbcode_builder/getdeps.py build --no-tests autoconf
- name: Build automake
run: python3 build/fbcode_builder/getdeps.py build --no-tests automake
- name: Build libtool
run: python3 build/fbcode_builder/getdeps.py build --no-tests libtool
- name: Build bison
run: python3 build/fbcode_builder/getdeps.py build --no-tests bison
- name: Build libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build fizz
run: python3 build/fbcode_builder/getdeps.py build --no-tests fizz
- name: Build flex
run: python3 build/fbcode_builder/getdeps.py build --no-tests flex
- name: Build wangle
run: python3 build/fbcode_builder/getdeps.py build --no-tests wangle
- name: Build fbthrift
run: python3 build/fbcode_builder/getdeps.py build --no-tests fbthrift
- name: Build rust-shed
run: python3 build/fbcode_builder/getdeps.py build --no-tests rust-shed
- name: Build mononoke
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. mononoke
- name: Copy artifacts