sapling/.github/workflows/mononoke_mac.yml
David Tolnay 00e6c4f3e3 Update to Rust 1.49.0
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
2021-01-19 17:46:47 -08:00

36 lines
1.0 KiB
YAML

name: Mononoke Mac
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- 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
run: df -h
- name: Test mononoke
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
- name: Check space
run: df -h