Skip to content

Commit

Permalink
ci: check out submodules in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Sep 6, 2024
1 parent 7c230c4 commit 5097ae6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Lint (rustfmt)
run: cargo fmt --all -- --check
lint-clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Lint (clippy) [common]
run: cargo oro-clippy -- -D warnings
Expand All @@ -31,6 +35,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Lint (rustdoc - x86_64)
run: env RUSTFLAGS="-D warnings" RUSTDOCFLAGS="-D rustdoc::all" cargo oro-doc-x86_64
Expand All @@ -40,6 +46,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-python@v2
with:
python-version: '3.x'
Expand All @@ -58,6 +66,8 @@ jobs:
]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Build
run: cargo kernel-x86_64 --profile ${{ matrix.profile }} ${{ matrix.flags }}
Expand All @@ -72,6 +82,8 @@ jobs:
]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Build
run: cargo limine-x86_64 --profile ${{ matrix.profile }} ${{ matrix.flags }}
Expand All @@ -86,6 +98,8 @@ jobs:
]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Build
run: cargo kernel-aarch64 --profile ${{ matrix.profile }} ${{ matrix.flags }}
Expand All @@ -100,13 +114,17 @@ jobs:
]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Build
run: cargo limine-aarch64 --profile ${{ matrix.profile }} ${{ matrix.flags }}
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- name: Test
run: |
Expand All @@ -115,6 +133,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: ./.github/actions/rust
- run: rm -f ${CARGO_TARGET_DIR:-target}/oro-boot.h
- name: Generate Boot Protocol C/C++ Header
Expand Down

0 comments on commit 5097ae6

Please sign in to comment.