Skip to content

Commit

Permalink
chore: add gnoweb build in Makefile + CI (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
moul authored May 19, 2022
1 parent a5d914b commit 4c9dc4b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
goversion: ["1.17.x"]
goarch: ["amd64"]
goos: ["linux"]
program: ["genproto", "gnofaucet", "gnokey", "gnoland", "gnotxport", "goscan", "gnodev"]
program: ["genproto", "gnofaucet", "gnokey", "gnoland", "gnotxport", "goscan", "gnodev", "gnoweb"]
# fixme: add "gnoview"
runs-on: ubuntu-latest
timeout-minutes: 5
Expand All @@ -31,4 +31,9 @@ jobs:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: install
if: matrix.program != 'gnoweb'
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go install ./cmd/${{ matrix.program }}
- name: install
# FIXME: consider moving gnoland/website -> ./cmd/gnoweb
if: matrix.program == 'gnoweb'
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go install ./gnoland/website
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
########################################
# Dist suite
.PHONY: logos goscan gnoland gnokey gnofaucet logos reset
all: gnoland gnokey goscan logos
.PHONY: logos goscan gnoland gnokey gnofaucet logos reset gnoweb
all: gnoland gnokey goscan logos gnoweb

reset:
rm -rf testdir
Expand Down Expand Up @@ -38,6 +38,11 @@ goscan:
@echo "Building goscan"
go build -o build/goscan ./cmd/goscan

gnoweb:
@echo "Building website"
go build -o build/website



# Logos is the interface to Gnoland
logos:
Expand Down

0 comments on commit 4c9dc4b

Please sign in to comment.