github: Use GCC 10 on Ubuntu

This commit is contained in:
merry 2022-03-20 12:57:14 +00:00
parent a4daad6336
commit 81536e4630

View file

@ -49,7 +49,24 @@ jobs:
run: UNICORN_ARCHS=aarch64,arm ./make.sh run: UNICORN_ARCHS=aarch64,arm ./make.sh
- name: Configure CMake - name: Configure CMake
if: ${{matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'}} if: ${{matrix.os == 'ubuntu-latest'}}
env:
CC: gcc-10
CXX: g++-10
run: >
cmake
-B ${{github.workspace}}/build
-DBoost_INCLUDE_DIRS=${{github.workspace}}/externals/ext-boost
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DDYNARMIC_ENABLE_CPU_FEATURE_DETECTION=${{matrix.cpu_detection}}
-DDYNARMIC_TESTS_USE_UNICORN=1
-DDYNARMIC_USE_LLVM=1
-DLIBUNICORN_INCLUDE_DIR=${{github.workspace}}/externals/unicorn/include
-DLIBUNICORN_LIBRARY=${{github.workspace}}/externals/unicorn/libunicorn.a
-G Ninja
- name: Configure CMake
if: ${{matrix.os == 'macos-latest'}}
run: > run: >
cmake cmake
-B ${{github.workspace}}/build -B ${{github.workspace}}/build