mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
Separate deprecated compilers on CI
This commit is contained in:
parent
d8ea5ef6e2
commit
310281a96c
21
.github/workflows/deprecated.yml
vendored
Normal file
21
.github/workflows/deprecated.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Deprecated compilers
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
gcc48:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build GCC 4.8
|
||||||
|
run: |
|
||||||
|
docker run --rm -v $(pwd):/work yosyshq/deprecated-compilers:1.0 make config-gcc-4.8
|
||||||
|
docker run --rm -v $(pwd):/work yosyshq/deprecated-compilers:1.0 make -j8
|
||||||
|
|
||||||
|
clang39:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build Clang 3.9
|
||||||
|
run: |
|
||||||
|
docker run --rm -v $(pwd):/work yosyshq/deprecated-compilers:1.0 make CC=clang-3.9 CXX=clang-3.9 LD=clang-3.9 -j8
|
14
.github/workflows/test-linux.yml
vendored
14
.github/workflows/test-linux.yml
vendored
|
@ -25,12 +25,6 @@ jobs:
|
||||||
- os: { id: ubuntu-20.04, name: focal }
|
- os: { id: ubuntu-20.04, name: focal }
|
||||||
compiler: 'gcc-10'
|
compiler: 'gcc-10'
|
||||||
cpp_std: 'c++11'
|
cpp_std: 'c++11'
|
||||||
- os: { id: ubuntu-18.04, name: bionic }
|
|
||||||
compiler: 'clang-3.9'
|
|
||||||
cpp_std: 'c++11'
|
|
||||||
- os: { id: ubuntu-18.04, name: bionic }
|
|
||||||
compiler: 'gcc-4.8'
|
|
||||||
cpp_std: 'c++11'
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
@ -109,15 +103,7 @@ jobs:
|
||||||
make -j${{ env.procs }}
|
make -j${{ env.procs }}
|
||||||
make install
|
make install
|
||||||
|
|
||||||
- name: Build yosys (gcc-4.8)
|
|
||||||
if: matrix.compiler == 'gcc-4.8'
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
make config-${{ matrix.compiler }}
|
|
||||||
make -j${{ env.procs }} CCXXSTD=${{ matrix.cpp_std }} CC=$CC CXX=$CC LD=$CC
|
|
||||||
|
|
||||||
- name: Build yosys
|
- name: Build yosys
|
||||||
if: matrix.compiler != 'gcc-4.8'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
make config-${CC%%-*}
|
make config-${CC%%-*}
|
||||||
|
|
Loading…
Reference in a new issue