mirror of
https://github.com/facebook/sapling.git
synced 2024-12-27 06:52:23 +03:00
00e6c4f3e3
Summary: Release notes: https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html Reviewed By: jsgf Differential Revision: D25866484 fbshipit-source-id: 25a584547df858f71e76ab0cc88e1adeaac070c7
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: Mononoke Linux
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Check space before cleanup
|
|
run: df -h
|
|
- name: Clean space as per https://github.com/actions/virtual-environments/issues/709
|
|
run: |
|
|
sudo rm -rf "/usr/local/share/boost"
|
|
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
|
|
docker rmi $(docker image ls -aq)
|
|
df -h
|
|
- name: Check space
|
|
run: df -h
|
|
- name: Install Rust Stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: 1.49.0
|
|
default: true
|
|
profile: minimal
|
|
- name: Install system deps
|
|
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive mononoke
|
|
- name: Build dependencies
|
|
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --only-deps --src-dir=. mononoke
|
|
- name: Build mononoke
|
|
run: python3 build/fbcode_builder/getdeps.py build --allow-system-packages --no-deps --src-dir=. mononoke
|
|
- name: Check space after build
|
|
run: df -h
|
|
- name: Test mononoke
|
|
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
|
|
- name: Check space at the end
|
|
run: df -h
|