From 58c6413ca2322866b7d81d1ce11b6900750bd73b Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sun, 31 Mar 2024 16:07:57 -0700 Subject: [PATCH] workflows: checkout submodules --- .github/workflows/check.yml | 2 ++ .github/workflows/client.yml | 2 ++ .github/workflows/kernel.yml | 2 ++ .github/workflows/nightly.yml | 2 ++ .github/workflows/os.yml | 2 ++ .github/workflows/server.yml | 2 ++ 6 files changed, 12 insertions(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index cedd034..fdbc804 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -6,6 +6,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: dtolnay/rust-toolchain@stable with: components: rustfmt diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 5b97585..fe112c9 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -22,6 +22,8 @@ jobs: shell: bash steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: dtolnay/rust-toolchain@stable if: ${{ matrix.platform.os != 'darwin' }} - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 57fafef..c720d17 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -21,6 +21,8 @@ jobs: name: build ${{ matrix.arch }} steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: dtolnay/rust-toolchain@stable - run: ./hack/ci/install-linux-deps.sh - run: ./hack/kernel/build.sh diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index d486b2e..ff21e78 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -74,6 +74,8 @@ jobs: shell: bash steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: dtolnay/rust-toolchain@stable if: ${{ matrix.platform.os != 'darwin' }} - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/os.yml b/.github/workflows/os.yml index 01f2b28..ba4ec57 100644 --- a/.github/workflows/os.yml +++ b/.github/workflows/os.yml @@ -23,6 +23,8 @@ jobs: name: build ${{ matrix.arch }} steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: dtolnay/rust-toolchain@stable with: targets: "${{ matrix.arch }}-unknown-linux-gnu,${{ matrix.arch }}-unknown-linux-musl" diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index e8213fe..571f133 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -60,6 +60,8 @@ jobs: name: initrd ${{ matrix.arch }} steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: dtolnay/rust-toolchain@stable with: targets: "${{ matrix.arch }}-unknown-linux-gnu,${{ matrix.arch }}-unknown-linux-musl"