Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
c0f8ab17
Unverified
Commit
c0f8ab17
authored
Apr 19, 2023
by
protolambda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: mipsevm Go test workflow
parent
653ca53f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
12 deletions
+40
-12
test.yml
.github/workflows/test.yml
+35
-0
.gitmodules
.gitmodules
+3
-0
Makefile
Makefile
+1
-12
unicorn
unicorn
+1
-0
No files found.
.github/workflows/test.yml
0 → 100644
View file @
c0f8ab17
on
:
[
push
,
pull_request
]
name
:
Go Test
jobs
:
go-test
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/setup-go@v3
with
:
go-version
:
1.20.x
-
uses
:
actions/checkout@v3
-
name
:
Install libunicorn
working-directory
:
.
run
:
make libunicorn
-
uses
:
actions/cache@v3
with
:
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path
:
|
~/go/pkg/mod
~/.cache/go-build
~/Library/Caches/go-build
~\AppData\Local\go-build
key
:
${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys
:
|
${{ runner.os }}-go-${{ matrix.go-version }}-
-
name
:
Build examples
working-directory
:
./example
run
:
make bin/minimal.elf
-
name
:
mipsevm tests
working-directory
:
./mipsevm
run
:
go test ./...
.gitmodules
0 → 100644
View file @
c0f8ab17
[submodule "unicorn"]
path = unicorn
url = https://github.com/unicorn-engine/unicorn.git
Makefile
View file @
c0f8ab17
SHELL
:=
/bin/bash
SHELL
:=
/bin/bash
build
:
submodules libunicorn mi
nigeth_mips minigeth_prefetch mi
psevm contracts
build
:
submodules libunicorn mipsevm contracts
.PHONY
:
build
.PHONY
:
build
submodules
:
submodules
:
...
@@ -38,21 +38,10 @@ libunicorn_rebuild:
...
@@ -38,21 +38,10 @@ libunicorn_rebuild:
make libunicorn
make libunicorn
.PHONY
:
libunicorn_rebuild
.PHONY
:
libunicorn_rebuild
minigeth_mips
:
cd
mipigo
&&
./build.sh
.PHONY
:
minigeth_mips
minigeth_prefetch
:
cd
minigeth
&&
go build
.PHONY
:
minigeth_prefetch
mipsevm
:
mipsevm
:
cd
mipsevm
&&
go build
cd
mipsevm
&&
go build
.PHONY
:
mipsevm
.PHONY
:
mipsevm
contracts
:
nodejs
npx hardhat compile
.PHONY
:
contracts
nodejs
:
nodejs
:
if
[
-x
"
$$
(command -v pnpm)"
]
;
then
\
if
[
-x
"
$$
(command -v pnpm)"
]
;
then
\
...
...
unicorn
@
7b8c63df
Subproject commit 7b8c63dfe650b5d4d2bf684526161971925e6350
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment