mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
1ae53c794f
Summary: Release notes: https://blog.rust-lang.org/2021/02/11/Rust-1.50.0.html Reviewed By: jsgf, Imxset21 Differential Revision: D26363768 fbshipit-source-id: 25188531cf0a5647128cbeb469225d8dd756d0af
36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
# This file was @generated by getdeps.py
|
|
|
|
name: EdenSCM Lib EdenAPI Tools Linux
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Install Rust Stable
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: 1.50.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 --strip --src-dir=. eden_scm_lib_edenapi_tools _artifacts/linux --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
|