3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 03:49:27 +01:00

feat: build with github actions

This commit is contained in:
Riley Park 2021-05-26 18:51:30 -07:00
parent 9dad717c04
commit 67868f85e8
No known key found for this signature in database
GPG Key ID: D831AF236C834E45

32
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: "build"
on:
pull_request:
branches:
- "master"
- "stable"
push:
branches:
- "master"
- "stable"
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- name: "checkout repository"
uses: "actions/checkout@v2"
- name: "setup go"
uses: "actions/setup-go@v2"
with:
go-version: "1.16.4"
- name: "install python3-pytest"
run: "sudo apt install -y python3-pytest"
- name: "make install"
run: "make install"
- name: "make test"
run: "make test"
- name: "make smoke"
run: "make smoke"
- name: "make irctest"
run: "make irctest"