From ee146310d716265ec06b3f9bfe5a9af38f8a370d Mon Sep 17 00:00:00 2001 From: shimwell Date: Sun, 17 Dec 2023 02:27:49 +0000 Subject: [PATCH] adding sudo back --- .github/workflows/ci_with_benchmarks.yml | 8 ++++---- .github/workflows/ci_with_install.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci_with_benchmarks.yml b/.github/workflows/ci_with_benchmarks.yml index b8eef62..85adad2 100644 --- a/.github/workflows/ci_with_benchmarks.yml +++ b/.github/workflows/ci_with_benchmarks.yml @@ -30,10 +30,10 @@ jobs: bash Miniforge3.sh -b -p "${HOME}/conda" source "${HOME}/conda/etc/profile.d/conda.sh" source "${HOME}/conda/etc/profile.d/mamba.sh" - apt-get --allow-releaseinfo-change update - apt-get update -y - apt-get upgrade -y - apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 + sudo apt-get --allow-releaseinfo-change update + sudo apt-get update -y + sudo apt-get upgrade -y + sudo apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 mamba activate mamba install -y -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master "openmc=0.13.3=dagmc*nompi*" mamba install -y -c conda-forge "openmc=0.13.3=dagmc*nompi*" diff --git a/.github/workflows/ci_with_install.yml b/.github/workflows/ci_with_install.yml index 752035f..bef7ab9 100644 --- a/.github/workflows/ci_with_install.yml +++ b/.github/workflows/ci_with_install.yml @@ -37,10 +37,10 @@ jobs: bash Miniforge3.sh -b -p "${HOME}/conda" source "${HOME}/conda/etc/profile.d/conda.sh" source "${HOME}/conda/etc/profile.d/mamba.sh" - apt-get --allow-releaseinfo-change update - apt-get update -y - apt-get upgrade -y - apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 + sudo apt-get --allow-releaseinfo-change update + sudo apt-get update -y + sudo apt-get upgrade -y + sudo apt-get install -y libgl1-mesa-glx libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libosmesa6 libosmesa6-dev libgles2-mesa-dev libarchive-dev libpangocairo-1.0-0 mamba activate mamba install -y -c cadquery -c conda-forge moab gmsh python-gmsh cadquery=master python -m pip install --upgrade pip