elf: Add aarch64 constants #367
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: | |
| merge_group: | |
| jobs: | |
| format-check: | |
| name: Check formatting and run linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: clippy rust-src rustfmt | |
| - name: Run format check | |
| run: cargo fmt --check | |
| - name: Run clippy | |
| run: cargo clippy | |
| compile-check: | |
| strategy: | |
| matrix: | |
| # arch: [x86_64, aarch64, riscv64, loongarch64] | |
| arch: [ x86_64 ] | |
| name: Debug build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rust-src | |
| - name: Install tools | |
| run: sudo apt install -y clang llvm lld gcc-multilib | |
| - name: Run build | |
| run: cargo build --target "toolchain/${{matrix.arch}}-kernel.json" | |
| env: | |
| CC: clang |