2121
2222on :
2323 push :
24- branches : [ main ]
24+ branches : [main]
2525 pull_request :
2626 paths :
2727 - " .github/**"
@@ -35,7 +35,6 @@ concurrency:
3535 cancel-in-progress : true
3636
3737jobs :
38-
3938 set-env :
4039 name : Set environment variables
4140 runs-on : ubuntu-22.04
6463 cache_key : ${{ steps.generate_cache_key.outputs.CACHE_KEY }}
6564
6665 env :
67- ARCH_SPECIFIC_CPP_STDLIB_PATH : ${{ needs.set-env.outputs.arch_specific_cpp_stdlib_path }}
68- GENERIC_CPP_STDLIB_PATH : ${{ needs.set-env.outputs.generic_cpp_stdlib_path }}
66+ ARCH_SPECIFIC_CPP_STDLIB_PATH : ${{ needs.set-env.outputs.arch_specific_cpp_stdlib_path }}
67+ GENERIC_CPP_STDLIB_PATH : ${{ needs.set-env.outputs.generic_cpp_stdlib_path }}
6968
7069 steps :
7170 - name : Checkout repository
8887 echo "GENERIC_CPP_STDLIB_PATH: ${{ env.GENERIC_CPP_STDLIB_PATH }}"
8988 echo "ARCH_SPECIFIC_CPP_STDLIB_PATH: ${{ env.ARCH_SPECIFIC_CPP_STDLIB_PATH }}"
9089 env
91-
90+
9291 - name : Download tarball
9392 run : |
9493 wget -O vsomeip-source.tar.gz $VSOMEIP_SOURCE_TARBALL
@@ -130,7 +129,7 @@ jobs:
130129
131130 - name : Install dependencies
132131 if : steps.cache-vsomeip.outputs.cache-hit != 'true'
133- run : sudo apt-get install -y build-essential cmake libboost-all-dev doxygen asciidoc
132+ run : sudo apt-get update && sudo apt-get install -y build-essential cmake libboost-all-dev doxygen asciidoc
134133
135134 - name : Build vsomeip
136135 if : steps.cache-vsomeip.outputs.cache-hit != 'true'
@@ -148,7 +147,7 @@ jobs:
148147
149148 lint :
150149 name : Lint
151- needs :
150+ needs :
152151 - set-env
153152 - obtain_and_build_vsomeip
154153 runs-on : ubuntu-22.04
@@ -211,7 +210,7 @@ jobs:
211210
212211 test :
213212 name : Test
214- needs :
213+ needs :
215214 - set-env
216215 - obtain_and_build_vsomeip
217216 runs-on : ubuntu-22.04
@@ -267,7 +266,7 @@ jobs:
267266 - name : Run tests and report code coverage
268267 run : |
269268 # enable nightly features so that we can also include Doctests
270- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${VSOMEIP_INSTALL_PATH}/lib RUSTC_BOOTSTRAP=1 cargo tarpaulin --no-default-features -o xml -o lcov -o html --doc --tests -- --test-threads 1
269+ LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${VSOMEIP_INSTALL_PATH}/lib RUSTC_BOOTSTRAP=1 cargo tarpaulin --no-default-features -o xml -o lcov -o html --doc --tests -- --test-threads 1
271270
272271 - name : Upload coverage report (xml)
273272 uses : actions/upload-artifact@v4
@@ -295,7 +294,7 @@ jobs:
295294
296295 build-docs :
297296 name : Build documentation
298- needs :
297+ needs :
299298 - obtain_and_build_vsomeip
300299 - set-env
301300 runs-on : ubuntu-22.04
@@ -342,4 +341,3 @@ jobs:
342341 - name : Create Documentation for up-linux-streamer
343342 working-directory : ${{github.workspace}}
344343 run : RUSTDOCFLAGS=-Dwarnings cargo doc -p up-linux-streamer --no-deps --no-default-features
345-
0 commit comments