forked from nervosnetwork/ckb-c-stdlib
-
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.
* Fix syscall id * Add CI * Remove build status
- Loading branch information
1 parent
2b850ff
commit d7dc1e3
Showing
6 changed files
with
65 additions
and
3 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,15 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Update submodules | ||
run: git submodule update --init | ||
- name: Build contract | ||
run: make all-via-docker |
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 |
---|---|---|
|
@@ -51,3 +51,5 @@ Module.symvers | |
Mkfile.old | ||
dkms.conf | ||
simulator/build.simulator | ||
|
||
tests/ci |
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,31 @@ | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <stdbool.h> | ||
#include <string.h> | ||
#include <stdint.h> | ||
#include <limits.h> | ||
#include <memory.h> | ||
#include <stdarg.h> | ||
#include <stddef.h> | ||
|
||
#include "blake2b.h" | ||
#include "ckb_consts.h" | ||
#include "ckb_dlfcn.h" | ||
#include "ckb_exec.h" | ||
#include "ckb_keccak256.h" | ||
#include "ckb_streaming.h" | ||
#include "ckb_swappable_signatures.h" | ||
#include "ckb_syscall_apis.h" | ||
#include "ckb_syscalls.h" | ||
#include "ckb_type_id.h" | ||
#include "ckb_utils.h" | ||
#define MOL2_EXIT ckb_exit | ||
#include "blockchain.h" | ||
#include "blockchain-api2.h" | ||
#include "molecule_reader.h" | ||
#include "molecule2_reader.h" | ||
#include "molecule_builder.h" | ||
|
||
int main(int argc, const char* argv[]) { | ||
return 0; | ||
} |