mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
c86c8d71ce
Summary: Release notes: https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html Reviewed By: zertosh Differential Revision: D30007531 fbshipit-source-id: ad85c526cb24bd111bef820c7887c4f5e44b79fe
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
name: EdenSCM Lib EdenAPI Tools Mac
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install Rust Stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: 1.54.0
|
|
default: true
|
|
profile: minimal
|
|
- name: Install system deps
|
|
run: sudo python3 build/fbcode_builder/getdeps.py --allow-system-packages install-system-deps --recursive eden_scm_lib_edenapi_tools
|
|
- name: Build eden_scm_lib_edenapi_tools
|
|
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. eden_scm_lib_edenapi_tools --project-install-prefix eden_scm_lib_edenapi_tools:/usr/local
|
|
- name: Copy artifacts
|
|
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages fixup-dyn-deps --src-dir=. eden_scm_lib_edenapi_tools _artifacts/mac --project-install-prefix eden_scm_lib_edenapi_tools:/usr/local --final-install-prefix /usr/local
|
|
- uses: actions/upload-artifact@master
|
|
with:
|
|
name: eden_scm_lib_edenapi_tools
|
|
path: _artifacts
|
|
- name: Test eden_scm_lib_edenapi_tools
|
|
run: python3 build/fbcode_builder/getdeps.py --allow-system-packages test --src-dir=. eden_scm_lib_edenapi_tools --project-install-prefix eden_scm_lib_edenapi_tools:/usr/local
|