diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index e26542315..60f867339 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -2,10 +2,8 @@ name: C/C++ CI on: push: - branches: [ master ] pull_request: - branches: [ master ] - + env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release @@ -17,6 +15,11 @@ jobs: steps: - uses: actions/checkout@v2 + + - name : submodule checkout + # Need to update submodules + run: git submodule update --init --depth 1 + - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory # We'll use this as our working directory for all subsequent commands