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
|
2021-10-29 00:21:09 +00:00
|
|
|
- ubuntu-daily:jammy
|
2022-04-25 21:18:31 +00:00
|
|
|
- ubuntu-daily:kinetic
|
2022-11-17 00:51:03 +00:00
|
|
|
- ubuntu-daily:lunar
|
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
|
2022-07-08 14:30:29 +00:00
|
|
|
strategy:
|
|
|
|
fail-fast: true
|
|
|
|
matrix:
|
|
|
|
image:
|
2023-03-03 13:34:38 +00:00
|
|
|
- ubuntu-daily:jammy # match the core snap we're running against
|
2022-11-17 00:51:03 +00:00
|
|
|
- ubuntu-daily:lunar # latest
|
2021-02-17 21:34:56 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: lint
|
2022-07-08 14:30:29 +00:00
|
|
|
run: sudo ./scripts/test-in-lxd.sh ${{ matrix.image }} "make lint"
|