From 82df0ab49de1421d7bd381c75ac57a21ec434117 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 2 Mar 2023 09:20:40 +0100 Subject: [PATCH] gh action: we need 'sudo' here --- .github/workflows/git.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/git.yml b/.github/workflows/git.yml index e3f37ad7f6..3ea58137af 100644 --- a/.github/workflows/git.yml +++ b/.github/workflows/git.yml @@ -1,4 +1,4 @@ -name: Git build on various OS and setups +name: Git builds # This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by @@ -21,7 +21,7 @@ jobs: - name: build run: | - apt install ninja libboost-dev libboost-context-dev libns3-dev + sudo apt update && sudo apt-get install ninja libboost-dev libboost-context-dev libns3-dev cmake -GNinja -Denable_debug=ON -Denable_documentation=OFF -Denable_coverage=OFF \ -Denable_compile_optimizations=ON -Denable_compile_warnings=ON \ -Denable_model-checking=OFF -Denable_smpi_MBI_testsuite=OFF \ @@ -56,7 +56,7 @@ jobs: - name: build run: | - apt install ninja libboost-dev libboost-context-dev + sudo apt update && sudo apt-get install ninja libboost-dev libboost-context-dev cmake -GNinja -Denable_debug=ON -Denable_documentation=OFF -Denable_coverage=OFF \ -Denable_compile_optimizations=ON -Denable_compile_warnings=ON \ -Denable_model-checking=ON -Denable_smpi_MBI_testsuite=OFF \ -- 2.20.1