Skip to content

Commit 563586e

Browse files
committed
Added GitHub workflow for CI
1 parent db493e0 commit 563586e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 'CI'
2+
3+
on:
4+
push:
5+
tags: ['*']
6+
branches: ['*']
7+
pull_request:
8+
branches: ['*']
9+
workflow_dispatch:
10+
11+
jobs:
12+
13+
build:
14+
name: 'Build ${{ matrix.arch }} image'
15+
runs-on: 'ubuntu-latest'
16+
strategy:
17+
matrix:
18+
arch: ['generic-amd64', 'raspios-arm64v8', 'raspios-arm32v7', 'raspios-arm32v6']
19+
steps:
20+
- name: 'Checkout project'
21+
uses: 'actions/checkout@v1'
22+
- name: 'Build image'
23+
run: |
24+
make binfmt-register
25+
make IMAGE_BUILD_OPTS="--pull" "build-${{ matrix.arch }}-image"

0 commit comments

Comments
 (0)