-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (37 loc) · 1.1 KB
/
buildcheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Standard Build Check
on: [push, pull_request]
jobs:
buildtest:
name: Build Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install pyenv
run: |
# Needed for using exact python version, which is
# required in `Pipfile`.
curl https://pyenv.run | bash
export PATH="$HOME/.pyenv/bin:$PATH"
pyenv install 3.8.12
- name: Install python packages
run: |
python -V
python -m pip --quiet --no-input install --upgrade pip
python -m pip --quiet --no-input install --upgrade pipenv wheel
pipenv --version
pipenv run python --version
cd vss-tools
pipenv install
echo done!
pipenv run python setup.py install
env:
PIPENV_VENV_IN_PROJECT: 1
- name: Test mandatory targets
run: |
pipenv install
pipenv run make all
env:
PIPENV_PIPFILE: ./vss-tools/Pipfile
PIPENV_VENV_IN_PROJECT: 1