-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02ae631
commit c6ae302
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Testing Build process | ||
on: | ||
push: | ||
paths: | ||
- 'apis/api/**' | ||
- 'cli/**' | ||
branches: [ main ] | ||
pull_request: | ||
paths: | ||
- 'apis/api/**' | ||
- 'cli/**' | ||
branches: [ main ] | ||
|
||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.19.0' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
- name: Build and install the latest version | ||
run: | | ||
make install_linux | ||
ksapify -h | ||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: '1.19.1' # The Go version to download (if necessary) and use. | ||
- run: go version | ||
- name: Build and install the latest version on intel chip | ||
run: | | ||
make install_macos | ||
ksapify -h |