mirror of https://github.com/VLSIDA/OpenRAM.git
Don't stop on fail, archive all results, create .bad file on fail.
This commit is contained in:
parent
e45e2f77c9
commit
d716a1c361
|
|
@ -25,13 +25,13 @@ jobs:
|
||||||
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
|
#python3-coverage run -p $OPENRAM_HOME/tests/regress.py -j 12 -t scn4m_subm
|
||||||
#$OPENRAM_HOME/tests/regress.py -j 24 -t scn4m_subm
|
#$OPENRAM_HOME/tests/regress.py -j 24 -t scn4m_subm
|
||||||
cd $OPENRAM_HOME/tests
|
cd $OPENRAM_HOME/tests
|
||||||
make -j 36
|
make -k -j 36
|
||||||
- name: Archive
|
- name: Archive
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Regress Archives
|
name: Regress Archives
|
||||||
path: ${{ github.workspace }}/compiler/tests/results/*.zip
|
path: ${{ github.workspace }}/compiler/tests/results/*
|
||||||
# freepdk45:
|
# freepdk45:
|
||||||
# runs-on: self-hosted
|
# runs-on: self-hosted
|
||||||
# steps:
|
# steps:
|
||||||
|
|
|
||||||
|
|
@ -63,11 +63,11 @@ $(TEST_BASES):
|
||||||
-e OPENRAM_TMP=$(OPENRAM_DIR)/results/$*/tmp \
|
-e OPENRAM_TMP=$(OPENRAM_DIR)/results/$*/tmp \
|
||||||
vlsida/openram-ubuntu:latest \
|
vlsida/openram-ubuntu:latest \
|
||||||
sh -c ". /home/cad-user/.bashrc && python3 -u $(OPENRAM_DIR)/$(getfile).py \
|
sh -c ". /home/cad-user/.bashrc && python3 -u $(OPENRAM_DIR)/$(getfile).py \
|
||||||
-t $(gettech) -k $(ARGS) -p $(OPENRAM_DIR)/results/$* > $(OPENRAM_DIR)/results/$*.out 2>&1 && touch $(OPENRAM_DIR)/results/$*.ok"
|
-t $(gettech) -k $(ARGS) -p $(OPENRAM_DIR)/results/$* > $(OPENRAM_DIR)/results/$*.out 2>&1 && touch $(OPENRAM_DIR)/results/$*.ok || touch $(OPENRAM_DIR)/results/$*.bad"
|
||||||
@test -f $(TOP_DIR)/compiler/tests/results/$*.ok && echo "$* ... PASS!" || echo "$* ... FAIL!"
|
@test -f $(TOP_DIR)/compiler/tests/results/$*.ok && echo "$* ... PASS!" || echo "$* ... FAIL!"
|
||||||
.DELETE_ON_ERROR: $(TEST_STAMPS)
|
.DELETE_ON_ERROR: $(TEST_STAMPS)
|
||||||
|
|
||||||
# This would use the regress.py script to run in parallel instead of
|
# This would use the regress.py script to run in parallel instead of
|
||||||
# the Makefile.
|
# the Makefile.
|
||||||
#$(TECHS):
|
#$(TECHS):
|
||||||
# @echo "Running $*"
|
# @echo "Running $*"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue