Commit 713c9b5e authored by Alex Hornby's avatar Alex Hornby Committed by Facebook GitHub Bot

regenerate github actions

Summary: Fix the getdeps.py  generation sub command and regenerate github actions before making changes to support actions generation for eden_scm

Reviewed By: fanzeyi

Differential Revision: D34044243

fbshipit-source-id: 0039d04f25af4c842145dc142dae6b9996fc8046
parent 1c6d910c
......@@ -39,6 +39,14 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- 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 libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Build boost
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build ninja
......@@ -63,6 +71,14 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- 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 libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. folly --project-install-prefix folly:/usr/local
- name: Copy artifacts
......
......@@ -41,6 +41,14 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests snappy
- name: Fetch zstd
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests zstd
- 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 libsodium
run: python3 build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Build boost
run: python3 build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build openssl
......@@ -67,6 +75,14 @@ jobs:
run: python3 build/fbcode_builder/getdeps.py build --no-tests snappy
- name: Build zstd
run: python3 build/fbcode_builder/getdeps.py build --no-tests zstd
- 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 libsodium
run: python3 build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build folly
run: python3 build/fbcode_builder/getdeps.py build --src-dir=. folly --project-install-prefix folly:/usr/local
- name: Copy artifacts
......
......@@ -16,12 +16,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Export boost environment
run: "echo BOOST_ROOT=%BOOST_ROOT_1_69_0% >> %GITHUB_ENV%"
run: "echo BOOST_ROOT=%BOOST_ROOT_1_78_0% >> %GITHUB_ENV%"
shell: cmd
- name: Fix Git config
run: git config --system core.longpaths true
- name: Fetch boost
run: python build/fbcode_builder/getdeps.py fetch --no-tests boost
- name: Fetch libsodium
run: python build/fbcode_builder/getdeps.py fetch --no-tests libsodium
- name: Fetch ninja
run: python build/fbcode_builder/getdeps.py fetch --no-tests ninja
- name: Fetch cmake
......@@ -52,6 +54,8 @@ jobs:
run: python build/fbcode_builder/getdeps.py fetch --no-tests libevent
- name: Build boost
run: python build/fbcode_builder/getdeps.py build --no-tests boost
- name: Build libsodium
run: python build/fbcode_builder/getdeps.py build --no-tests libsodium
- name: Build ninja
run: python build/fbcode_builder/getdeps.py build --no-tests ninja
- name: Build cmake
......
......@@ -877,7 +877,7 @@ class GenerateGitHubActionsCmd(ProjectCmdBase):
# TODO: Break up complex function
def write_job_for_platform(self, platform, args): # noqa: C901
build_opts = setup_build_options(args, platform)
ctx_gen = build_opts.get_context_generator(facebook_internal=False)
ctx_gen = build_opts.get_context_generator()
loader = ManifestLoader(build_opts, ctx_gen)
manifest = loader.load_manifest(args.project)
manifest_ctx = loader.ctx_gen.get_context(manifest.name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment