mirror of
https://github.com/Dasharo/sbctl.git
synced 2026-03-06 15:04:14 -08:00
Support TPM TSS2 key files for signing secure boot things Signed-off-by: Morten Linderud <morten@linderud.pw>
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
name: CI
|
|
on: [push, pull_request]
|
|
jobs:
|
|
arch:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: archlinux:latest
|
|
options: --device /dev/kvm
|
|
steps:
|
|
- run: pacman --noconfirm --noprogressbar -Syu
|
|
- run: pacman --noconfirm --noprogressbar -S make go asciidoc gcc git edk2-ovmf qemu-system-x86
|
|
- uses: actions/checkout@v1
|
|
- run: git config --global --add safe.directory $(pwd)
|
|
- run: make
|
|
- run: make test
|
|
- run: make integration
|
|
- run: GOBIN=/usr/bin make lint
|
|
void:
|
|
runs-on: ubuntu-latest
|
|
container: ghcr.io/void-linux/void-musl
|
|
steps:
|
|
# update xbps, if necessary
|
|
- run: xbps-install -Syu || ( xbps-install -yu xbps && xbps-install -Syu)
|
|
- run: xbps-install -y make go asciidoc gcc git openssl-devel
|
|
- uses: actions/checkout@v1
|
|
- run: git config --global --add safe.directory $(pwd)
|
|
- run: make
|
|
- run: make test
|
|
- run: GOBIN=/usr/bin make lint
|