Skip to content

Commit d424316

Browse files
authored
Merge pull request #14 from cgwalters/ci
ci: Switch from gitlab CI to GHA
2 parents 183dc3c + 47beebf commit d424316

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches: [ main ]
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
container: quay.io/centos/centos:stream9
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: build
14+
run: |
15+
set -xeuo pipefail
16+
dnf -y install 'dnf-command(config-manager)'
17+
dnf -y config-manager --set-enabled crb
18+
dnf -y install go-toolset libvirt-devel
19+
# Because all the git clones are much less reliable
20+
export GOPROXY=https://proxy.golang.org
21+
go install github.com/onsi/ginkgo/v2/ginkgo@latest
22+
make GOOPTS=-buildvcs=false
23+
export PATH=$PATH:$HOME/go/bin
24+
make test

.gitlab-ci.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)