aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/CI.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 04d24fa..47d3d1c 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -12,8 +12,9 @@ on:
12 branches: [ "main" ] 12 branches: [ "main" ]
13 13
14jobs: 14jobs:
15 build: 15 build-windows:
16 runs-on: ubuntu-latest 16 name: Windows Build
17 runs-on: ubuntu-20.04
17 steps: 18 steps:
18 - uses: actions/checkout@v3 19 - uses: actions/checkout@v3
19 20
@@ -22,6 +23,18 @@ jobs:
22 with: 23 with:
23 go-version: 1.18 24 go-version: 1.18
24 architecture: amd64 25 architecture: amd64
25
26 - name: Build 26 - name: Build
27 run: env GOOS=windows GOARCH=amd64 go build . 27 run: env GOOS=windows GOARCH=amd64 go build .
28 build-linux:
29 name: Linux Build
30 runs-on: ubuntu-20.04
31 steps:
32 - uses: actions/checkout@v3
33
34 - name: Setup Go environment
35 uses: actions/setup-go@v3.3.0
36 with:
37 go-version: 1.18
38 architecture: amd64
39 - name: Build
40 run: env GOOS=linux GOARCH=amd64 go build .