diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 53bfb44dcc..5141cb6e9d 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -75,6 +75,11 @@ jobs: CC: "" CXX: "" PYTHON_BINDING_VERSION: "3.8" + - compiler: clang10 + EXTRA_PACKAGES: clang-10 + CC: /usr/bin/clang-10 + CXX: /usr/bin/clang++-10 + PYTHON_BINDING_VERSION: "3.8" steps: - uses: actions/checkout@v2 @@ -94,3 +99,41 @@ jobs: sudo apt-get install ${EXTRA_PACKAGES} rm -rf log build install eval CC=${CC} CXX=${CXX} ${BUILDCMD} + + ubuntu22job: + name: Ubuntu 22.04 + runs-on: ubuntu-22.04 + + strategy: + matrix: + include: + - compiler: gcc11 + EXTRA_PACKAGES: "" + CC: "" + CXX: "" + PYTHON_BINDING_VERSION: "3.10" + - compiler: clang14 + EXTRA_PACKAGES: clang-14 + CC: /usr/bin/clang-14 + CXX: /usr/bin/clang++-14 + PYTHON_BINDING_VERSION: "3.10" + + steps: + - uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Install Dependencies + run: bash .github/workflows/install_dependencies.sh + + - name: Build and Test + env: + CC: ${{ matrix.CC }} + CXX: ${{ matrix.CXX }} + EXTRA_PACKAGES: ${{ matrix.EXTRA_PACKAGES }} + PYTHON_BINDING_VERSION: ${{ matrix.PYTHON_BINDING_VERSION }} + run: | + sudo apt-get install ${EXTRA_PACKAGES} + rm -rf log build install + eval CC=${CC} CXX=${CXX} ${BUILDCMD} +