-
Notifications
You must be signed in to change notification settings - Fork 30
57 lines (44 loc) · 1.18 KB
/
check-install.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
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Install from
on:
push:
pull_request:
jobs:
GitHub:
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-20.04]
fail-fast: false
name: GitHub
runs-on: ${{ matrix.os }}
steps:
- name: Install dependencies (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install -y cmake default-jre-headless uuid-dev libantlr4-runtime-dev
- name: Install dependencies (Mac OS X)
if: startsWith(matrix.os, 'macos')
run: |
true
- name: Install dependencies (Windows)
if: startsWith(matrix.os, 'windows')
run: |
true
- name: 🐍 Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install pip+wheel
run: |
python -m pip install --user --upgrade wheel
python -m pip install --user --upgrade pip
- name: Test installation
shell: bash
run: |
python -m pip install git+https://github.com/${GITHUB_REPOSITORY}.git@${GITHUB_SHA}#egg=fasm
- name: Run Smoke Test
run: |
fasm --help
# PyPi:
# runs-on: ubuntu-20.04
# name: PyPi