sapling/.github/workflows/eden_scm_lib_edenapi_tools_linux.yml
David Tolnay c86c8d71ce Update to Rust 1.54.0
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
2021-07-30 08:42:15 -07:00

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.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 --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