Skip to content

Commit

Permalink
Github workflows added for build & testing
Browse files Browse the repository at this point in the history
  • Loading branch information
EgeBalci committed Dec 19, 2023
1 parent 9d46392 commit f5b4dc3
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

name: build

on:
push:
branches: [ "master" ]

jobs:
macos-run:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Make Build
run: make
- name: Test Run
run: ./build/sgn --version
linux-run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Make Build
run: make
- name: Test Run
run: ./build/sgn --version
windows-run:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Make Build
run: make
- name: Test Run
run: ./build/sgn.exe --version

0 comments on commit f5b4dc3

Please sign in to comment.