Build Hypervisor #612
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: Build Hypervisor | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| schedule: | |
| - cron: '0 3 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup the environment | |
| run: rustup default nightly | |
| - name: Build | |
| run: cd src && cargo xtask build | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: MilvusVisor | |
| path: src/bin/ | |
| compression-level: 9 |