mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
563f866548
Summary: Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/12 The OpenSSL version on Mac doesn't work well with EdenSCM and Mononoke integration, just use the one from getdeps/brew. Also remove the now redundant "DEVELOPER_DIR" since the modern XCode version works. Pull Request resolved: https://github.com/facebookexperimental/eden/pull/63 Reviewed By: StanislavGlebik Differential Revision: D23927022 Pulled By: lukaspiatkowski fbshipit-source-id: 6b6b3baa33d49b567b9aa6178cbd20b7ae9edc89
56 lines
1.7 KiB
YAML
56 lines
1.7 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.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
|