From d2068db581b8af7ea8dcaa580135d3b8d9e70a94 Mon Sep 17 00:00:00 2001 From: Udip Pant Date: Wed, 18 Sep 2019 12:49:56 -0700 Subject: [PATCH] configure github actions CI for katran --- .github/workflows/main.yml | 105 +++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 000000000..2c3499966 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,105 @@ +# This file was @generated by getdeps.py + +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + linux: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v1 + - name: Fetch zlib + run: python build/fbcode_builder/getdeps.py fetch --no-tests zlib + - name: Fetch boost + run: python build/fbcode_builder/getdeps.py fetch --no-tests boost + - name: Fetch ninja + run: python build/fbcode_builder/getdeps.py fetch --no-tests ninja + - name: Fetch cmake + run: python build/fbcode_builder/getdeps.py fetch --no-tests cmake + - name: Fetch googletest + run: python build/fbcode_builder/getdeps.py fetch --no-tests googletest + - name: Fetch double-conversion + run: python build/fbcode_builder/getdeps.py fetch --no-tests double-conversion + - name: Fetch fmt + run: python build/fbcode_builder/getdeps.py fetch --no-tests fmt + - name: Fetch gflags + run: python build/fbcode_builder/getdeps.py fetch --no-tests gflags + - name: Fetch glog + run: python build/fbcode_builder/getdeps.py fetch --no-tests glog + - name: Fetch libevent + run: python build/fbcode_builder/getdeps.py fetch --no-tests libevent + - name: Fetch snappy + run: python build/fbcode_builder/getdeps.py fetch --no-tests snappy + - name: Fetch zstd + run: python build/fbcode_builder/getdeps.py fetch --no-tests zstd + - name: Fetch folly + run: python build/fbcode_builder/getdeps.py fetch --no-tests folly + - name: Fetch autoconf + run: python build/fbcode_builder/getdeps.py fetch --no-tests autoconf + - name: Fetch automake + run: python build/fbcode_builder/getdeps.py fetch --no-tests automake + - name: Fetch libtool + run: python build/fbcode_builder/getdeps.py fetch --no-tests libtool + - name: Fetch libmnl + run: python build/fbcode_builder/getdeps.py fetch --no-tests libmnl + - name: Fetch libsodium + run: python build/fbcode_builder/getdeps.py fetch --no-tests libsodium + - name: Fetch fizz + run: python build/fbcode_builder/getdeps.py fetch --no-tests fizz + - name: Fetch libelf + run: python build/fbcode_builder/getdeps.py fetch --no-tests libelf + - name: Fetch libbpf + run: python build/fbcode_builder/getdeps.py fetch --no-tests libbpf + - name: Build zlib + run: python build/fbcode_builder/getdeps.py build --no-tests zlib + - name: Build boost + run: python build/fbcode_builder/getdeps.py build --no-tests boost + - name: Build ninja + run: python build/fbcode_builder/getdeps.py build --no-tests ninja + - name: Build cmake + run: python build/fbcode_builder/getdeps.py build --no-tests cmake + - name: Build googletest + run: python build/fbcode_builder/getdeps.py build --no-tests googletest + - name: Build double-conversion + run: python build/fbcode_builder/getdeps.py build --no-tests double-conversion + - name: Build fmt + run: python build/fbcode_builder/getdeps.py build --no-tests fmt + - name: Build gflags + run: python build/fbcode_builder/getdeps.py build --no-tests gflags + - name: Build glog + run: python build/fbcode_builder/getdeps.py build --no-tests glog + - name: Build libevent + run: python build/fbcode_builder/getdeps.py build --no-tests libevent + - name: Build snappy + run: python build/fbcode_builder/getdeps.py build --no-tests snappy + - name: Build zstd + run: python build/fbcode_builder/getdeps.py build --no-tests zstd + - name: Build folly + run: python build/fbcode_builder/getdeps.py build --no-tests folly + - name: Build autoconf + run: python build/fbcode_builder/getdeps.py build --no-tests autoconf + - name: Build automake + run: python build/fbcode_builder/getdeps.py build --no-tests automake + - name: Build libtool + run: python build/fbcode_builder/getdeps.py build --no-tests libtool + - name: Build libmnl + run: python build/fbcode_builder/getdeps.py build --no-tests libmnl + - name: Build libsodium + run: python build/fbcode_builder/getdeps.py build --no-tests libsodium + - name: Build fizz + run: python build/fbcode_builder/getdeps.py build --no-tests fizz + - name: Build libelf + run: python build/fbcode_builder/getdeps.py build --no-tests libelf + - name: Build libbpf + run: python build/fbcode_builder/getdeps.py build --no-tests libbpf + - name: Build katran + run: python build/fbcode_builder/getdeps.py build --src-dir=. katran + - name: Test katran + run: python build/fbcode_builder/getdeps.py test --src-dir=. katran