Init submodules in actions.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-01-30 12:59:03 +01:00
parent 07f85dc4b8
commit 307eb63ee5
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3
2 changed files with 6 additions and 5 deletions

View file

@ -26,8 +26,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: build
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build in container
run: ./tests/build-in-docker.sh
- name: run and test
- name: Start emulation and test
run: ./tests/run-test-in-docker.sh

View file

@ -2,8 +2,6 @@
source tests/docker_env.sh
#run_in_docker rm -rf CMakeFiles
run_in_docker git config --global --add safe.directory '*'
run_in_docker git submodule update --recursive
run_in_docker mkdir -p build_in_docker
run_in_docker -w "$PWD/build_in_docker" cmake -DENABLE_EMULATION=1 ..
run_in_docker -w "$PWD/build_in_docker" make -j ${NUM_PROC}