-
Notifications
You must be signed in to change notification settings - Fork 393
45 lines (36 loc) · 989 Bytes
/
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:
workflow_dispatch:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container: ["ubuntu", "debian", "debian-buster", "fedora"]
container:
image: ghcr.io/${{ github.repository_owner }}/${{ matrix.container }}
steps:
- name: Get INDI Sources
uses: actions/checkout@v3
with:
path: 'indi'
- name: Build INDI Core
run: |
indi/scripts/indi-core-build.sh
indi/scripts/indi-core-package-build.sh
- name: Install INDI Core
run: indi/scripts/indi-core-install.sh
- name: Run INDI Core Test
run: indi/scripts/indi-core-test.sh
- name: Archive INDI Core Package
uses: actions/upload-artifact@v2
with:
name: indi-core-package-${{ matrix.container }}
path: packages/indi-core-package.tar