diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13fab100..59848535 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,6 @@ jobs: test_all: runs-on: ubuntu-latest - timeout-minutes: 10 steps: - uses: actions/checkout@v4 - name: Fix kernel mmap rnd bits diff --git a/.github/workflows/quality_check_sonarcloud.yml b/.github/workflows/quality_check_sonarcloud.yml index eb16d936..161a0cae 100644 --- a/.github/workflows/quality_check_sonarcloud.yml +++ b/.github/workflows/quality_check_sonarcloud.yml @@ -19,13 +19,17 @@ jobs: build: name: Build and analyze runs-on: ubuntu-latest - timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Install sonar-scanner uses: SonarSource/sonarcloud-github-c-cpp@v2 + - name: Fix kernel mmap rnd bits + # Asan in llvm 14 provided in ubuntu 22.04 is incompatible with + # high-entropy ASLR in much newer kernels that GitHub runners are + # using leading to random crashes: https://reviews.llvm.org/D148280 + run: sudo sysctl vm.mmap_rnd_bits=28 - name: cmake run: | USE_LIBCMP=1 cmake . diff --git a/Makefile_v1 b/Makefile_v1 index 7a680cd2..9b443936 100644 --- a/Makefile_v1 +++ b/Makefile_v1 @@ -400,7 +400,7 @@ else endif .phony: demo demo_all demo_Insta demo_EJBCA demo_CloudCA -demo: demo_EJBCA +demo: demo_Insta demo_all: demo demo_EJBCA demo_CloudCA demo_Insta: get_Insta_crls $(MAKE) -f Makefile_v1 run_demo BIN_DIR="$(BIN_DIR)" CA_SECTION="Insta" SLEEP="sleep 1"