forked from nervosnetwork/ckb-std
-
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.
- Loading branch information
Showing
5 changed files
with
66 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Develop Clang | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
develop: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Deps | ||
run: | | ||
rustup target add riscv64imac-unknown-none-elf | ||
wget https://apt.llvm.org/llvm.sh && chmod +x llvm.sh && sudo ./llvm.sh 16 && rm llvm.sh | ||
- name: Test | ||
run: | | ||
cargo build --verbose --target=riscv64imac-unknown-none-elf --features=build-with-clang |
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,23 @@ | ||
name: Develop Rust | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
develop: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Deps | ||
run: | | ||
rustup target add riscv64imac-unknown-none-elf | ||
cargo install cross --git https://github.com/cross-rs/cross --rev=6982b6c | ||
cargo install ckb-capsule --git https://github.com/nervosnetwork/capsule --rev 5c1b2ce | ||
- name: Test | ||
run: | | ||
cargo build --target=riscv64imac-unknown-none-elf --no-default-features --features=ckb-types,allocator | ||
cross check --examples | ||
make test |
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,23 @@ | ||
name: Release | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Deps | ||
run: | | ||
rustup target add riscv64imac-unknown-none-elf | ||
- name: Push | ||
run: | | ||
cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
cargo publish |
This file was deleted.
Oops, something went wrong.