add build for windows, ubuntu, and macOS
Browse files- .github/workflows/build.yaml +19 -3
.github/workflows/build.yaml
CHANGED
@@ -8,12 +8,28 @@ on:
|
|
8 |
|
9 |
jobs:
|
10 |
build:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
steps:
|
12 |
- uses: actions/checkout@v2
|
13 |
|
14 |
-
- name: Install program
|
15 |
-
run:
|
16 |
|
17 |
- name: Test CLI
|
18 |
run: livermask --help
|
19 |
-
|
|
|
8 |
|
9 |
jobs:
|
10 |
build:
|
11 |
+
runs-on: ${{ matrix.os }}
|
12 |
+
strategy:
|
13 |
+
matrix:
|
14 |
+
include:
|
15 |
+
- os: ubuntu-18.04
|
16 |
+
TARGET: ubuntu
|
17 |
+
CMD_BUILD: pip install git+https://github.com/andreped/livermask.git
|
18 |
+
|
19 |
+
- os: macos-10.15
|
20 |
+
TARGET: macos
|
21 |
+
CMD_BUILD: pip install git+https://github.com/andreped/livermask.git
|
22 |
+
|
23 |
+
- os: windows-2019
|
24 |
+
TARGET: windows
|
25 |
+
CMD_BUILD: pip install git+https://github.com/andreped/livermask.git
|
26 |
+
|
27 |
+
runs-on: ubu
|
28 |
steps:
|
29 |
- uses: actions/checkout@v2
|
30 |
|
31 |
+
- name: Install program for ${{matrix.TARGET}}
|
32 |
+
run: ${{matrix.CMD_BUILD}}
|
33 |
|
34 |
- name: Test CLI
|
35 |
run: livermask --help
|
|