mirror of
https://github.com/facebook/sapling.git
synced 2024-12-28 15:44:27 +03:00
8053f99ccb
Summary: Pull Request resolved: https://github.com/facebookexperimental/eden/pull/31 Reviewed By: HarveyHunt Differential Revision: D22625551 Pulled By: lukaspiatkowski fbshipit-source-id: 3de0c6fb365d695ee3206efb9d1185cdef8a64bb
58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
name: Mononoke Mac
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macOS-latest
|
|
env:
|
|
DEVELOPER_DIR: /Applications/Xcode_10.3.app/Contents/Developer
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Check space
|
|
run: df -h
|
|
- name: Install Rust Stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: 1.44.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
|
|
- name: Install Rust Beta
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: beta
|
|
default: true
|
|
profile: minimal
|
|
- name: Test mononoke with beta toolchain
|
|
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
|
|
continue-on-error: true
|
|
- name: Install Rust Nightly
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: nightly
|
|
default: true
|
|
profile: minimal
|
|
- name: Test mononoke with nightly toolchain
|
|
run: python3 build/fbcode_builder/getdeps.py test --allow-system-packages --src-dir=. mononoke
|
|
continue-on-error: true
|
|
- name: Check space
|
|
run: df -h
|