Update cmake.yml - checkout submodules
This commit is contained in:
parent
7595ae3926
commit
e81449eddf
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:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- name: Install LLVM
|
||||||
run: sudo apt-get install -y llvm
|
run: sudo apt-get install -y llvm
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue