3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-09 09:21:58 +00:00

test-sanitizers.yml: Use makefile.conf

This commit is contained in:
Krystine Sherwin 2025-09-23 15:37:21 +12:00
parent 2ea596c55f
commit e08efb3b94
No known key found for this signature in database

View file

@ -97,7 +97,9 @@ jobs:
run: | run: |
make config-$CC make config-$CC
echo 'SANITIZER = ${{ matrix.sanitizer }}' >> Makefile.conf echo 'SANITIZER = ${{ matrix.sanitizer }}' >> Makefile.conf
make -j$procs ENABLE_LTO=1 echo 'ENABLE_LTO = 1' >> Makefile.conf
echo 'ENABLE_LIBYOSYS = 1' >> Makefile.conf
make -j$procs
- name: Log yosys-config output - name: Log yosys-config output
run: | run: |
@ -106,7 +108,7 @@ jobs:
- name: Run tests - name: Run tests
shell: bash shell: bash
run: | run: |
make -j$procs test TARGETS= EXTRA_TARGETS= CONFIG=$CC make -j$procs test TARGETS= EXTRA_TARGETS=
- name: Report errors - name: Report errors
if: ${{ failure() }} if: ${{ failure() }}
@ -117,4 +119,4 @@ jobs:
- name: Run unit tests - name: Run unit tests
shell: bash shell: bash
run: | run: |
make -j$procs unit-test CONFIG=$CC ENABLE_LIBYOSYS=1 make -j$procs unit-test