refactor: buck2 #6
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: [canon] | |
| pull_request: | |
| branches: [canon] | |
| merge_group: | |
| branches: [canon] | |
| jobs: | |
| build: | |
| name: Build and Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Buck2 | |
| uses: dtolnay/install-buck2@latest | |
| - name: Install Nightly Rust | |
| uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rustfmt, clippy, rust-src | |
| - name: Install Watchman | |
| run: brew install watchman | |
| - name: Build Buck2 Targets | |
| run: | | |
| buck2 build //kernel:kernel //tools/mkrootfs:mkrootfs //userspace/native_init:native_init |