mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +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
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.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 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
|