aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+BiSaXa@users.noreply.github.com>2022-08-28 10:39:09 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:34 +0300
commit9530a130cde57f4a6dd21926df8b853fdeef2d76 (patch)
tree675847258d5c3a825463c1a0b676edabcf326f36 /.github/workflows
parentmodule name and other changes (diff)
downloadsdp.go-9530a130cde57f4a6dd21926df8b853fdeef2d76.tar.gz
sdp.go-9530a130cde57f4a6dd21926df8b853fdeef2d76.tar.bz2
sdp.go-9530a130cde57f4a6dd21926df8b853fdeef2d76.zip
Update CI.yml
Diffstat (limited to '.github/workflows')
-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 .