more fixes #6
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
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: gopath/github.com/katydid/testsuite | |
- name: Checkout gogoprotobuf | |
uses: actions/checkout@v4 | |
with: | |
repository: gogo/protobuf | |
path: gopath/github.com/gogo/protobuf | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- name: Fetch dependencies | |
run: | | |
cd gopath/github.com/katydid/testsuite | |
go mod download -x | |
- name: Install tools | |
run: | | |
cd gopath/github.com/katydid/testsuite | |
go install -x github.com/gogo/protobuf/protoc-gen-gogo | |
- name: Setup protoc | |
run: | | |
cd gopath/github.com/katydid/testsuite | |
./install_protoc.sh | |
- name: Protoc version | |
run: | | |
cd gopath/github.com/katydid/testsuite | |
PATH=$HOME/bin:$PATH protoc --version | |
- name: env | |
run: env && go env && pwd | |
- name: tree | |
run: tree | |
- name: Generate | |
run: | | |
cd gopath/github.com/katydid/testsuite | |
PATH=$HOME/bin:$PATH make regenerate | |
- name: Build | |
run: | | |
cd gopath/github.com/katydid/testsuite | |
make build | |