Checkout git submodules during github CI runs. Change-Id: Ie4e2d618ee70035004ddcaa40a31725a6a610091
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index ee5e966..b2ad9ea 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml
@@ -32,15 +32,18 @@ - '28' steps: - - uses: actions/checkout@v4 - - name: Setup Dependencies run: | sudo apt-get update sudo apt-get install -y \ + git \ ccache \ ninja-build + - uses: actions/checkout@v4 + with: + submodules: recursive + # Ensure the declared NDK version is always installed even if it's removed # from the virtual environment. - name: Setup NDK
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8cd9d8e..86b9a70 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml
@@ -30,12 +30,11 @@ - no-cuda steps: - - uses: actions/checkout@v4 - - name: Setup Dependencies run: | apt-get update apt-get install -y \ + git \ build-essential \ ccache \ cmake \ @@ -50,6 +49,10 @@ ninja-build \ wget + - uses: actions/checkout@v4 + with: + submodules: recursive + # nvidia cuda toolkit + gcc combo shipped with 22.04LTS is broken # and is not able to compile code that uses thrust # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006962
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 89c3534..a85ed8c 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml
@@ -30,6 +30,8 @@ steps: - uses: actions/checkout@v4 + with: + submodules: recursive - name: Setup Dependencies (iOS) if: matrix.target == 'ios'
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1e97831..eaffa79 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml
@@ -23,6 +23,8 @@ steps: - uses: actions/checkout@v4 + with: + submodules: recursive - name: Setup Dependencies uses: msys2/setup-msys2@v2 @@ -117,6 +119,8 @@ steps: - uses: actions/checkout@v4 + with: + submodules: recursive - name: Download and install CUDA toolkit if: matrix.gpu == 'cuda'