Small refactor and update hyperlight version #6
Workflow file for this run
This file contains hidden or 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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| toolchain: "1.89.0" | |
| targets: wasm32-wasip1, x86_64-unknown-none | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version: "lts/*" | |
| cache: npm | |
| - name: Install just | |
| uses: extractions/setup-just@v3 | |
| - name: Install cargo-component | |
| run: cargo install cargo-component | |
| - name: Install npm dependencies | |
| run: npm install | |
| - name: Build host and components | |
| run: | | |
| just build | |
| just build-rust-component | |
| just build-js-component |