Update cmake.yml - checkout submodules
This commit is contained in:
parent
e50cb9f0e2
commit
98132ca2f5
1 changed files with 9 additions and 0 deletions
9
.github/workflows/cmake.yml
vendored
9
.github/workflows/cmake.yml
vendored
|
|
@ -20,6 +20,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Checkout submodules # checkout rest
|
||||
shell: bash
|
||||
run: |
|
||||
# If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
|
||||
# git config --global url."https://github.com/".insteadOf "git@github.com:"
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
|
||||
- name: Install LLVM
|
||||
run: sudo apt-get install -y llvm
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue