sapling/.github/workflows/eden_scm_lib_edenapi_tools_linux.yml
Genevieve Helsel 7c69d0b55e prepare for master -> main branch rename
Reviewed By: ahornby

Differential Revision: D31114901

fbshipit-source-id: eef24bca0ca3e22ae78d3d158046b7a59e90c4cf
2021-09-23 11:23:05 -07:00

36 lines
1.4 KiB
YAML

# This file was @generated by getdeps.py
name: EdenSCM Lib EdenAPI Tools Linux
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: 1.55.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@main
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