Skip to content

Commit 68de5f3

Browse files
committed
ci: add workflow to test installation
Signed-off-by: Michael Adam <obnox@samba.org>
1 parent 7c1abe2 commit 68de5f3

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
branches:
7+
- main
8+
- release-*
9+
workflow_dispatch:
10+
pull_request:
11+
types: [opened, synchronize]
12+
branches:
13+
- main
14+
- release-*
15+
16+
jobs:
17+
18+
test:
19+
name: test and run
20+
runs-on: ${{ matrix.os }}
21+
strategy:
22+
matrix:
23+
os: [ubuntu-latest, macos-latest]
24+
25+
steps:
26+
27+
- name: Set up Go
28+
uses: actions/setup-go@v6
29+
with:
30+
go-version: 'stable'
31+
id: go
32+
33+
- name: Check out code
34+
uses: actions/checkout@v6
35+
with:
36+
fetch-depth: 1
37+
38+
- name: run checks
39+
run: make check
40+
shell: bash
41+
42+
- name: run install and validate
43+
run: |
44+
./install.sh
45+
type builbo
46+
shell: bash
47+

0 commit comments

Comments
 (0)