-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CI workflows #73
base: master
Are you sure you want to change the base?
Add CI workflows #73
Conversation
@dhia-gharsallaoui maybe we can use the mage file in CI flow? LGTM otherwise! |
.github/workflows/go.yml
Outdated
run: go build -v ./... | ||
|
||
- name: Test | ||
run: go test -v ./... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use mage, e.g., mage test
and same for build too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done to test, but I kept the go build to build in multi-OS.
WDYT @vigith @cosmic-chichu ?
28622ef
to
05d8bb8
Compare
@dhia-gharsallaoui fixed magefile for build #74 |
.github/workflows/go.yml
Outdated
- uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: go build -v ./... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could use mage -v build
here, since #74 is merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
7e77225
to
47e7ef2
Compare
strategy: | ||
fail-fast: false | ||
matrix: | ||
goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cosmic-chichu we can limit the OS list and go version in build. Any proposition ?
No description provided.