Skip to content

Commit

Permalink
[FIX] sudo for apt(-get)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSchnizer committed Sep 11, 2023
1 parent ed76d4e commit fd30464
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:

- name: install apt dependencies
run: |
sudo apt update
sudo apt-get update
# gfortran ... currently for mad-ng gtpsa library
sudo apt install g++ gfortran cmake make bison flex libarmadillo-dev
sudo apt-get install g++ gfortran cmake make bison flex libarmadillo-dev
# deliberatly only installing a subset of boost
sudo apt install libboost-chrono-dev libboost-thread-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev libboost-test-dev
sudo apt-get install libboost-chrono-dev libboost-thread-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev libboost-test-dev
# for building the python interface ... hopefully python3-xarray is not needed this is rather heavy
sudo apt install pybind11-dev python3-pytest python3-pip python3-pybind11
sudo apt-get install pybind11-dev python3-pytest python3-pip python3-pybind11
- name: Configure cmake for gtpsa-cpp
run: cmake gtpsa-cpp -B ${{github.workspace}}/gtpsa-cpp/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
run: |
# xarray are heavy packages ... deliberatley only installed here
# as required for the tests
apt install python3-pandas python3-scipy python3-xarray
sudo apt-get install python3-pandas python3-scipy python3-xarray
- name : thor-scsi-lib test python package
run: pytest-3 python

0 comments on commit fd30464

Please sign in to comment.