2021-02-17 21:34:56 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2021-02-18 20:24:20 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-02-17 21:34:56 +00:00
|
|
|
strategy:
|
2021-10-05 16:01:11 +00:00
|
|
|
fail-fast: false
|
2021-02-17 21:34:56 +00:00
|
|
|
matrix:
|
|
|
|
image:
|
|
|
|
- ubuntu-daily:focal
|
|
|
|
- ubuntu-daily:hirsute
|
2021-06-02 14:03:16 +00:00
|
|
|
- ubuntu-daily:impish
|
2021-10-29 00:21:09 +00:00
|
|
|
- ubuntu-daily:jammy
|
2021-02-17 21:34:56 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: run
|
2021-05-17 13:31:29 +00:00
|
|
|
run: sudo ./scripts/test-in-lxd.sh ${{ matrix.image }} "make check"
|
2021-02-17 21:34:56 +00:00
|
|
|
lint:
|
2021-02-18 20:37:05 +00:00
|
|
|
runs-on: ubuntu-20.04
|
2021-02-17 21:34:56 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: lint
|
|
|
|
run: sudo ./scripts/test-in-lxd.sh ubuntu-daily:focal "make lint"
|