bintr: Use the same arguments for MinGW cross compilation #1210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build configuration matrix | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
config_matrix: | |
name: Build configuration matrix | |
defaults: | |
run: | |
working-directory: ${{github.workspace}}/tests/buildconfig | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
compiler: [g++, clang++-17] | |
env: | |
CXX: ${{ matrix.compiler }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y g++ | |
- name: Install newer Clang | |
run: | | |
wget https://apt.llvm.org/llvm.sh | |
chmod +x ./llvm.sh | |
sudo ./llvm.sh 17 | |
- name: Default build | |
run: bash ci.sh | |
- name: Emulator debug build | |
run: bash ci.sh -DRISCV_DEBUG=ON | |
- name: No threaded build | |
run: bash ci.sh -DRISCV_THREADED=OFF | |
- name: No extensions build | |
run: bash ci.sh -DRISCV_EXT_A=OFF -DRISCV_EXT_C=OFF -DRISCV_EXT_F=OFF | |
- name: A-ext only build | |
run: bash ci.sh -DRISCV_EXT_A=ON -DRISCV_EXT_C=OFF -DRISCV_EXT_F=OFF | |
- name: C-ext only build | |
run: bash ci.sh -DRISCV_EXT_A=OFF -DRISCV_EXT_C=ON -DRISCV_EXT_F=OFF | |
- name: F-ext only build | |
run: bash ci.sh -DRISCV_EXT_A=OFF -DRISCV_EXT_C=OFF -DRISCV_EXT_F=ON | |
- name: Experimental build | |
run: bash ci.sh -DRISCV_EXPERIMENTAL=ON -DRISCV_THREADED=OFF | |
- name: Experimental + threaded build | |
run: bash ci.sh -DRISCV_EXPERIMENTAL=ON -DRISCV_THREADED=ON | |
- name: Experimental + threaded debug build | |
run: bash ci.sh -DRISCV_EXPERIMENTAL=ON -DRISCV_THREADED=ON -DRISCV_DEBUG=ON | |
- name: No multiprocessing build | |
run: bash ci.sh -DRISCV_EXPERIMENTAL=ON -DRISCV_MULTIPROCESS=OFF | |
- name: Multiprocessing debug build | |
run: bash ci.sh -DRISCV_EXPERIMENTAL=ON -DRISCV_MULTIPROCESS=ON -DRISCV_DEBUG=ON | |
- name: Binary translation build | |
run: bash ci.sh -DRISCV_BINARY_TRANSLATION=ON -DRISCV_DEBUG=OFF -DRISCV_EXT_C=OFF | |
- name: Binary translation debug build | |
run: bash ci.sh -DRISCV_BINARY_TRANSLATION=ON -DRISCV_DEBUG=ON -DRISCV_EXT_C=OFF |