[Test] Add the matrix for compiler compatibility tests

This commit is contained in:
tangxifan 2020-11-24 10:29:05 -07:00
parent 0daa484134
commit 43564c584d
1 changed files with 42 additions and 0 deletions

View File

@ -28,6 +28,27 @@ jobs:
fail-fast: false
matrix:
config:
- {
name: "Build Compatibility: GCC-5 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-gcc5-build.7z",
os: ubuntu-18.04,
cc: "gcc-5", cxx: "g++-5"
}
- {
name: "Build Compatibility: GCC-6 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-gcc6-build.7z",
os: ubuntu-18.04,
cc: "gcc-6", cxx: "g++-6"
}
- {
name: "Build Compatibility: GCC-7 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-gcc7-build.7z",
os: ubuntu-18.04,
cc: "gcc-7", cxx: "g++-7"
}
- {
name: "Build Compatibility: GCC-8 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-gcc8-build.7z",
@ -35,6 +56,27 @@ jobs:
cc: "gcc-8", cxx: "g++-8"
}
- {
name: "Build Compatibility: GCC-9 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-gcc9-build.7z",
os: ubuntu-18.04,
cc: "gcc-9", cxx: "g++-9"
}
- {
name: "Build Compatibility: Clang-6 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-clang6-build.7z",
os: ubuntu-18.04,
cc: "clang-6.0", cxx: "clang++-6.0"
}
- {
name: "Build Compatibility: Clang-8 (Ubuntu 18.04)",
artifact: "OpenFPGA-ubuntu-18.04-clang8-build.7z",
os: ubuntu-18.04,
cc: "clang-8", cxx: "clang++-8"
}
# Define the steps to run the build job
steps:
- name: Checkout OpenFPGA repo