-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: reorganize project, isolate components (tm2, gnovm, gno.lan…
…d, ...) (#585) Co-authored-by: Morgan <[email protected]> Co-authored-by: Thomas Bruyelle <[email protected]>
- Loading branch information
1 parent
2b7642b
commit 98cc986
Showing
2,293 changed files
with
3,368 additions
and
18,023 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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
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
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
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,60 @@ | ||
name: gno.land | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "go.sum" | ||
- "gnovm/**.go" | ||
- "gnovm/**.gno" | ||
- "tm2/**.go" | ||
- "gno.land/**" | ||
- ".github/workflows/gnovm.yml" | ||
push: | ||
branches: [ $default-branch ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [ "1.19.x", "1.20.x" ] | ||
goarch: [ "amd64" ] | ||
goos: [ "linux" ] | ||
program: | ||
- gnoland | ||
- gnokey | ||
- gnoweb | ||
- gnofaucet | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
- uses: actions/checkout@v3 | ||
- name: go install | ||
working-directory: gno.land | ||
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go install ./cmd/${{ matrix.program }} | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [ "1.19.x", "1.20.x" ] | ||
args: | ||
- _test.gnoland | ||
- _test.gnokey | ||
- _test.pkgs | ||
#- _test.gnoweb # this test should be rewritten to run an inmemory localnode | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
- uses: actions/checkout@v3 | ||
- name: test | ||
working-directory: gno.land | ||
run: | | ||
export GOPATH=$HOME/go | ||
make ${{ matrix.args }} |
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,62 @@ | ||
name: gnovm | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "go.sum" | ||
- "gnovm/**.go" | ||
- "gnovm/**.gno" | ||
- "gnovm/**/go.sum" | ||
- "gnovm/Makefile" | ||
- "tm2/**.go" | ||
- ".github/workflows/gnovm.yml" | ||
push: | ||
branches: [ $default-branch ] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [ "1.19.x", "1.20.x" ] | ||
goarch: [ "amd64" ] | ||
goos: [ "linux" ] | ||
program: [ "gno" ] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
- uses: actions/checkout@v3 | ||
- name: go install | ||
working-directory: gnovm | ||
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go install ./cmd/${{ matrix.program }} | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go-version: [ "1.19.x", "1.20.x" ] | ||
args: | ||
- _test.cmd | ||
- _test.pkg | ||
- _test.gnolang.native | ||
- _test.gnolang.stdlibs | ||
- _test.gnolang.realm | ||
- _test.gnolang.pkg0 | ||
- _test.gnolang.pkg1 | ||
- _test.gnolang.pkg2 | ||
- _test.gnolang.other | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
- uses: actions/checkout@v3 | ||
- name: test | ||
working-directory: gnovm | ||
run: | | ||
export GOPATH=$HOME/go | ||
make ${{ matrix.args }} |
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
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
Oops, something went wrong.