forked from opensvc/multipath-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (44 loc) · 1.11 KB
/
native.yaml
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: compile and unit test on native arch
on:
push:
branches:
- master
- queue
- tip
pull_request:
jobs:
stable:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
os:
- debian-jessie
- debian-buster
- debian-bullseye
- debian-bookworm
- fedora-37
- opensuse-leap
container: ghcr.io/mwilck/multipath-build-${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v1
- name: build and test
if: ${{ matrix.os != 'jessie' }}
run: make test
- name: build and test (jessie)
# On jessie, we use libreadline 5 (no licensing issue)
if: ${{ matrix.os == 'jessie' }}
run: make -j -Orecurse READLINE=libreadline test
- name: clean
run: make clean
- name: clang
if: ${{ matrix.os != 'jessie' }}
env:
CC: clang
run: make -j -Orecurse test
- name: clang (jessie)
if: ${{ matrix.os == 'jessie' }}
env:
CC: clang
run: make READLINE=libreadline test