From 445fe97dc684be442f86efb8bf8830c43ca8f9d4 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Thu, 5 Mar 2020 23:28:41 -0800 Subject: [PATCH] Update workflow file We need to checkout submodules We should run on all branches --- .github/workflows/ccpp.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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