mirror of https://github.com/YosysHQ/yosys.git
ci: working on test setup
This commit is contained in:
parent
2bec6e3e0a
commit
1ef21efe3f
|
@ -121,7 +121,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
tar -cvf ../build.tar Makefile.conf share/ yosys yosys-*
|
tar -cvf ../build.tar share/ yosys yosys-*
|
||||||
|
|
||||||
- name: Store build artifact
|
- name: Store build artifact
|
||||||
if: (matrix.cpp_std == 'c++11') && (matrix.compiler == 'gcc-11')
|
if: (matrix.cpp_std == 'c++11') && (matrix.compiler == 'gcc-11')
|
||||||
|
@ -134,11 +134,12 @@ jobs:
|
||||||
test-linux:
|
test-linux:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
needs: build-linux
|
needs: build-linux
|
||||||
runs-on: ${{ matrix.os.id }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
env:
|
||||||
|
CC: clang
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [ubuntu-20.04]
|
||||||
- { id: ubuntu-20.04, name: focal }
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -171,7 +172,7 @@ jobs:
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: .local/
|
path: .local/
|
||||||
key: ${{ matrix.os.id }}-${{ env.IVERILOG_GIT }}
|
key: ${{ matrix.os }}-${{ env.IVERILOG_GIT }}
|
||||||
|
|
||||||
- name: Build iverilog
|
- name: Build iverilog
|
||||||
if: steps.cache-iverilog.outputs.cache-hit != 'true'
|
if: steps.cache-iverilog.outputs.cache-hit != 'true'
|
||||||
|
@ -197,4 +198,4 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
make -j${{ env.procs }} test TARGETS= EXTRA_TARGETS=
|
make -j$procs test TARGETS= EXTRA_TARGETS= CONFIG=$CC
|
||||||
|
|
Loading…
Reference in New Issue