diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index f8f0dd38..b76a9f56 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -126,13 +126,13 @@ jobs: - name: Install build tools run: | ${{ matrix.install }} - sudo apt install -y ninja-build + sudo apt install -y ninja-build python3-venv python3-pip - - name: Install libclang for string catalog + - name: Install python requirements for string catalog run: | python3 -m venv ${{github.workspace}}/test_venv source ${{github.workspace}}/test_venv/bin/activate - pip install libclang + pip install -r ${{github.workspace}}/tools/requirements.txt echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH - name: Restore CPM cache @@ -212,7 +212,14 @@ jobs: - name: Install build tools run: | ${{ matrix.install }} - sudo apt install -y ninja-build + sudo apt install -y ninja-build python3-venv python3-pip + + - name: Install python requirements for string catalog + run: | + python3 -m venv ${{github.workspace}}/test_venv + source ${{github.workspace}}/test_venv/bin/activate + pip install -r ${{github.workspace}}/tools/requirements.txt + echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH - name: Restore CPM cache env: @@ -332,7 +339,14 @@ jobs: - name: Install build tools run: | ${{ matrix.install }} - sudo apt install -y ninja-build + sudo apt install -y ninja-build python3-venv python3-pip + + - name: Install python requirements for string catalog + run: | + python3 -m venv ${{github.workspace}}/test_venv + source ${{github.workspace}}/test_venv/bin/activate + pip install -r ${{github.workspace}}/tools/requirements.txt + echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH - name: Restore CPM cache env: @@ -378,7 +392,14 @@ jobs: - name: Install build tools run: | - sudo apt update && sudo apt install -y gcc-${{env.DEFAULT_GCC_VERSION}} g++-${{env.DEFAULT_GCC_VERSION}} ninja-build valgrind + sudo apt update && sudo apt install -y gcc-${{env.DEFAULT_GCC_VERSION}} g++-${{env.DEFAULT_GCC_VERSION}} ninja-build python3-venv python3-pip valgrind + + - name: Install python requirements for string catalog + run: | + python3 -m venv ${{github.workspace}}/test_venv + source ${{github.workspace}}/test_venv/bin/activate + pip install -r ${{github.workspace}}/tools/requirements.txt + echo "${{github.workspace}}/test_venv/bin" >> $GITHUB_PATH - name: Restore CPM cache env: diff --git a/.gitignore b/.gitignore index 06b64f90..4274cd02 100644 --- a/.gitignore +++ b/.gitignore @@ -5,11 +5,11 @@ /.idea /.cache /.DS_Store -.clang-format -.clang-tidy -.cmake-format.yaml -CMakePresets.json +/.clang-format +/.clang-tidy +/.cmake-format.yaml +/CMakePresets.json /toolchains -mull.yml -requirements.txt -docs/puppeteer_config.json +/mull.yml +/requirements.txt +/docs/puppeteer_config.json diff --git a/tools/requirements.txt b/tools/requirements.txt new file mode 100644 index 00000000..a54d6021 --- /dev/null +++ b/tools/requirements.txt @@ -0,0 +1 @@ +libclang==18.1.1