This github action performs common setup for running GitHub workflows for the hyperlight project.
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hyperlight-dev/[email protected]
with:
rust-toolchain: "1.74.0"
Name | Description |
---|---|
rust-toolchain |
The rust toolchain version to use. |
This action performs the following steps:
- Installs the Rust tool chain at the specified version.
- Installs additional rust components like clippy, rustfmt, ect
- Installs Just
- Sets up the clang toolchain on Linux machines (this should probably get moved into the hosted runner image setup...)
- Installs the
x86_64-pc-windows-msvc
rust target for cross-compilation on Linux machines - Sets up environment variables needed to build / run tests based on the machine's configuration.
See the Code of Conduct.