[add] spin-table support #573
Workflow file for this run
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
name: Rust | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
workflow_dispatch: | |
schedule: | |
- cron: '15 4 */1 * *' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install tools | |
run: | | |
rustup default nightly | |
rustup component add rust-src | |
mkdir bin | |
- name: Build UEFI bootloader | |
run: | | |
cd src | |
make bootloader | |
mv target/*/release/hypervisor_bootloader.efi ../bin/BOOTAA64.EFI | |
- name: Build kernel | |
run: | | |
cd src | |
make kernel | |
mv target/*/release/hypervisor_kernel ../bin/hypervisor_kernel | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: MilvusVisor | |
path: bin/ | |