Skip to content

Commit

Permalink
making a commit with verbose build output to trigger GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspiatkowski committed Jun 19, 2020
1 parent baa6894 commit 870d1b1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/mononoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Check space
run: du -h
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
Expand All @@ -21,8 +23,29 @@ jobs:
profile: minimal
- name: Build dependencies
run: python3 build/fbcode_builder/getdeps.py build --only-deps --src-dir=. mononoke
- name: Check space
run: du -h
- name: Build mononoke
run: python3 build/fbcode_builder/getdeps.py build --no-deps --src-dir=. mononoke
continue-on-error: true
- name: Check space
run: du -h
- name: clean stuff
run: sudo rm -rf "/usr/local/share/boost"
- name: Check space
run: du -h
- name: clean stuff
run: sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Check space
run: du -h
- name: clean stuff
run: sudo apt-get clean
- name: Check space
run: du -h
- name: Build mononoke
run: python3 build/fbcode_builder/getdeps.py build --no-deps --src-dir=. mononoke
- name: Check space
run: du -h
- name: Copy artifacts
run: python3 build/fbcode_builder/getdeps.py fixup-dyn-deps --src-dir=. mononoke _artifacts/linux
- uses: actions/upload-artifact@master
Expand Down
6 changes: 6 additions & 0 deletions build/fbcode_builder/getdeps/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,12 +958,18 @@ def run_cargo(self, install_dirs, operation, args=None):
self.add_openssl_to_env(env, install_dirs)
# Enable using nightly features with stable compiler
env["RUSTC_BOOTSTRAP"] = "1"
env["FUSE_SYS_DELEGATE_LINKING"] = "1"
env["GRPCIO_SYS_DELEGATE_LINKING"] = "1"
env["GRPCIO_SYS_USE_PKG_CONFIG"] = "0"
env["LIBZ_SYS_STATIC"] = "1"
env["LZ4_SYS_DELEGATE_LINKING"] = "1"
env["LIBCURL_NO_PKG_CONFIG"] = "1"
cmd = [
"cargo",
operation,
"--workspace",
"-j%s" % self.build_opts.num_jobs,
"-v",
] + args
self._run_cmd(cmd, cwd=self.workspace_dir(), env=env)

Expand Down

0 comments on commit 870d1b1

Please sign in to comment.