-
Notifications
You must be signed in to change notification settings - Fork 212
45 lines (34 loc) · 1.21 KB
/
linux.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
name: Linux
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container: ["ubuntu", "debian", "fedora"]
container:
image: ghcr.io/indilib/${{ matrix.container }}
steps:
- name: Get INDI 3rd Party Sources
uses: actions/checkout@v2
with:
path: indi-3rdparty
- name: Get INDI Core Package
uses: dawidd6/action-download-artifact@v2
with:
repo: indilib/indi
branch: master
workflow: linux.yml
name: indi-core-package-${{ matrix.container }}
path: ./packages/
- name: Install INDI Core
run: $(command -v sudo) tar -hxvf packages/indi-core-package.tar --strip-components=1 -C /
- name: Build INDI 3rd Party Libraries
run: indi-3rdparty/scripts/indi-3rdparty-libs-build.sh
- name: Install INDI 3rd Party Libraries
run: indi-3rdparty/scripts/indi-3rdparty-libs-install.sh
- name: Build INDI 3rd Party Drivers
run: indi-3rdparty/scripts/indi-3rdparty-build.sh
- name: Install INDI 3rd Party Drivers
run: indi-3rdparty/scripts/indi-3rdparty-install.sh