Skip to content

feat: add ckb-js-vm default script for testing (#58) #253

feat: add ckb-js-vm default script for testing (#58)

feat: add ckb-js-vm default script for testing (#58) #253

Workflow file for this run

name: ckb-js-vm
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install llvm 18
run: |
sudo apt-get purge --auto-remove llvm python3-lldb-14 llvm-14
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
rm llvm.sh
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Build
run: make all
- name: Install tools
run: make install
- name: Install ckb-debugger
run: |
wget 'https://github.com/nervosnetwork/ckb-standalone-debugger/releases/download/v0.200.0-rc1/ckb-debugger-linux-x64.tar.gz'
tar xzvf ckb-debugger-linux-x64.tar.gz
mv ckb-debugger ~/.cargo/bin
- name: Tests
run: make test
- name: Benchmark
run: make benchmark