@@ -10,32 +10,35 @@ permissions:
1010jobs :
1111 CodeChecks :
1212 name : Basic code checks
13- runs-on : ${{ github.repository_owner == 'oneapi-src' && 'intel-ubuntu-22.04' || 'ubuntu-latest' }}
13+ runs-on : ' DSS-L0-FLEX'
14+ container : ubuntu:22.04
15+ # container: localhost:5000/umf_docker:latest
1416
1517 steps :
16- - name : Checkout repository
17- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
18- with :
19- fetch-depth : 0
20-
21- - name : Install dependencies
22- run : |
23- sudo apt-get update
24- sudo apt-get install -y black cmake clang-format-15 cmake-format libhwloc-dev doxygen
25-
2618 # Latest distros do not allow global pip installation
2719 - name : Install Python requirements in venv
2820 run : |
21+ apt-get update
22+ DEBIAN_FRONTEND=noninteractive apt-get install -y git python3-venv libenchant-2-dev
2923 python3 -m venv .venv
3024 . .venv/bin/activate
3125 echo "$PATH" >> $GITHUB_PATH
3226 python3 -m pip install -r third_party/requirements.txt
3327 python3 -m pip install bandit codespell
3428
29+ - name : Checkout repository
30+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
31+ with :
32+ fetch-depth : 0
33+
34+ - name : Install dependencies
35+ run : |
36+ DEBIAN_FRONTEND=noninteractive apt-get install -y git black cmake clang-format-15 cmake-format libhwloc-dev doxygen libtbb-dev automake wget
37+
3538 - name : Configure CMake
3639 run : >
3740 cmake
38- -B ${{github.workspace}}/ build
41+ -B build
3942 -DUMF_FORMAT_CODE_STYLE=ON
4043 -DUMF_BUILD_TESTS=OFF
4144 -DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
4750
4851 - name : Check CMake formatting
4952 run : |
53+ ls -la
54+ ls -la .git
5055 cmake --build build --target cmake-format-apply
5156 git diff --exit-code
5257
@@ -67,10 +72,10 @@ jobs:
6772
6873 - name : Check spelling in docs
6974 run : |
70- cmake -B build
7175 cmake --build build --target docs
7276 sphinx-build -b spelling ./build/docs_build/config ./build/docs_build/spelling_log -W
7377
74- # Run Bandit recursively, but omit _deps directory (with 3rd party code) and python's venv
78+ # Run Bandit recursively, but omit _deps directory (with 3rd party code)
79+ # and python's venv
7580 - name : Run Bandit
7681 run : python3 -m bandit -r . -x '/_deps/,/.venv/'
0 commit comments