docs: document xenor-native submodule and add CI integration #1
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: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Verify submodule checkout | |
| run: | | |
| git submodule status --recursive | |
| test -f xenor-native/Cargo.toml | |
| git -C xenor-native rev-parse --is-inside-work-tree | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - name: Install Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Install site dependencies | |
| run: npm ci | |
| - name: Lint site | |
| run: make lint | |
| - name: Run native tests from submodule | |
| run: make native-test | |
| - name: Run native smoke command from submodule | |
| run: make native-smoke |