sapling/.github/workflows/eden_scm_lib_edenapi_tools_linux.yml
David Tolnay b682dd6315 Update to Rust 1.48.0
Summary: Release notes: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1480-2020-11-19

Reviewed By: jsgf

Differential Revision: D25011931

fbshipit-source-id: 04ad2c41d1589c7514b0550b20fd8ae0015dc118
2020-11-18 12:47:46 -08: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.48.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