Browse Source

feat: build with github actions

tags/v2.7.0-rc1
Riley Park 2 years ago
parent
commit
67868f85e8
No account linked to committer's email address
1 changed files with 32 additions and 0 deletions
  1. 32
    0
      .github/workflows/build.yml

+ 32
- 0
.github/workflows/build.yml View File

@@ -0,0 +1,32 @@
1
+name: "build"
2
+
3
+on:
4
+  pull_request:
5
+    branches:
6
+      - "master"
7
+      - "stable"
8
+  push:
9
+    branches:
10
+      - "master"
11
+      - "stable"
12
+
13
+jobs:
14
+  build:
15
+    runs-on: "ubuntu-20.04"
16
+    steps:
17
+      - name: "checkout repository"
18
+        uses: "actions/checkout@v2"
19
+      - name: "setup go"
20
+        uses: "actions/setup-go@v2"
21
+        with:
22
+          go-version: "1.16.4"
23
+      - name: "install python3-pytest"
24
+        run: "sudo apt install -y python3-pytest"
25
+      - name: "make install"
26
+        run: "make install"
27
+      - name: "make test"
28
+        run: "make test"
29
+      - name: "make smoke"
30
+        run: "make smoke"
31
+      - name: "make irctest"
32
+        run: "make irctest"

Loading…
Cancel
Save