diff --git a/.github/actions/environment_clang.yaml b/.github/actions/environment_clang.yaml index 6b2d3b3a0..71b36c372 100644 --- a/.github/actions/environment_clang.yaml +++ b/.github/actions/environment_clang.yaml @@ -2,6 +2,4 @@ name: modyn-ci-tools channels: - conda-forge dependencies: - - clang-18 - - clang-tools - - clang-format-18 + - cmake diff --git a/.github/workflows/build_dependencies.yaml b/.github/workflows/build_dependencies.yaml index ed5005471..ac06a177e 100644 --- a/.github/workflows/build_dependencies.yaml +++ b/.github/workflows/build_dependencies.yaml @@ -4,8 +4,8 @@ on: schedule: - cron: '0 0 1 * *' # Run at midnight on the first of every month workflow_dispatch: - pull_request: - branches: main + # pull_request: + # branches: main concurrency: group: grpc-build diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 0f1a338fb..6371dc83f 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -154,6 +154,7 @@ jobs: with: environment-file: .github/actions/environment_clang.yaml cache-environment: true + create-args: clang-18 clang-tools clang-format-18 - name: Setup pre-built grpc binaries uses: actions/download-artifact@v4 @@ -192,8 +193,8 @@ jobs: matrix: build-type: [ Release, Debug ] compiler: - - { c: gcc, cxx: g++, version: 11 } - - { c: gcc, cxx: g++, version: 12 } + # - { c: gcc, cxx: g++, version: 11 } + # - { c: gcc, cxx: g++, version: 12 } - { c: clang, cxx: clang++, version: 14 } - { c: clang, cxx: clang++, version: 17, coverage: true } include: @@ -214,18 +215,14 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Install ccache - run: | - sudo apt update - sudo apt install -y ccache - - - name: Install clang version - if: ${{ matrix.compiler.version > 14 }} - uses: KyleMayes/install-llvm-action@v1 + - name: Install clang environment + uses: mamba-org/setup-micromamba@v1 with: - version: ${{ matrix.compiler.version }}.0 - env: true - + environment-file: .github/actions/environment_clang.yaml + cache-environment: true + create-args: ccache clang=${{matrix.compiler.version}} libclang=${{matrix.compiler.version}} clang-tools=${{matrix.compiler.version}} + # gcc_linux-64=${{matrix.compiler.version}} gxx_linux-64=${{matrix.compiler.version}} + - name: Setup pre-built grpc binaries uses: actions/download-artifact@v4 with: