-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Limit CI script to just initialization stage.
- Loading branch information
Yvan Tortorella
committed
Feb 22, 2024
1 parent
e8d8c8c
commit 38c0357
Showing
1 changed file
with
54 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,71 +4,64 @@ | |
# | ||
# Yvan Tortorella <[email protected]> | ||
|
||
variables: | ||
GIT_SUBMODULE_STRATEGY: recursive | ||
# Our reference GCC toolchain for reproducible builds | ||
|
||
stages: | ||
- init | ||
- build | ||
- test | ||
|
||
init: | ||
stage: init | ||
script: | ||
- cd golden-model | ||
- source setup-py.sh | ||
|
||
.base: | ||
artifacts: | ||
when: always | ||
expire_in: 1 week | ||
|
||
.redmule-build-tpl: | ||
extends: .base | ||
needs: [ init ] | ||
stage: build | ||
script: | ||
- SETUP-CONFIG=${SETUP-CONFIG} | ||
- source scripts/${SETUP-CONFIG}.sh | ||
- make update-ips | ||
- make build-hw | ||
|
||
redmule-build-hwpe: | ||
extends: .redmule-build-tpl | ||
variables: | ||
SETUP-CONFIG: "setup-hwpe" | ||
|
||
redmule-build-complex: | ||
extends: .redmule-build-tpl | ||
variables: | ||
SETUP-CONFIG: "setup-complex" | ||
|
||
.redmule-vsim-tpl: | ||
extends: .base | ||
needs: [ build ] | ||
stage: test | ||
script: | ||
- SETUP-CONFIG=${SETUP-CONFIG} | ||
- source scripts/${SETUP-CONFIG}.sh | ||
- make goden M=${M} N=${N} K=${K} | ||
- make clean all | ||
- make run | ||
- '(grep -rn Success!" ./work/transcript)' | ||
- (! grep -rn "Fail!" ./work/transcript) | ||
|
||
hwpe-test: | ||
extends: .redmule-vsim-tpl | ||
variables: | ||
SETUP-CONFIG: "setup-hwpe" | ||
parallel: | ||
matrix: | ||
- { M: 32, N=32, K=32 } | ||
- cd golden-model & source setup-py.sh | ||
|
||
complex-test: | ||
extends: .redmule-vsim-tpl | ||
variables: | ||
SETUP-CONFIG: "setup-complex" | ||
parallel: | ||
matrix: | ||
- { M: 32, N=32, K=32 } | ||
# .base: | ||
# artifacts: | ||
# when: always | ||
# expire_in: 1 week | ||
# | ||
# .redmule-build-tpl: | ||
# extends: .base | ||
# needs: [ init ] | ||
# stage: build | ||
# script: | ||
# - SETUP-CONFIG=${SETUP-CONFIG} | ||
# - source scripts/${SETUP-CONFIG}.sh | ||
# - make update-ips | ||
# - make build-hw | ||
# | ||
# redmule-build-hwpe: | ||
# extends: .redmule-build-tpl | ||
# variables: | ||
# SETUP-CONFIG: "setup-hwpe" | ||
# | ||
# redmule-build-complex: | ||
# extends: .redmule-build-tpl | ||
# variables: | ||
# SETUP-CONFIG: "setup-complex" | ||
# | ||
# .redmule-vsim-tpl: | ||
# extends: .base | ||
# needs: [ build ] | ||
# stage: test | ||
# script: | ||
# - SETUP-CONFIG=${SETUP-CONFIG} | ||
# - source scripts/${SETUP-CONFIG}.sh | ||
# - make goden M=${M} N=${N} K=${K} | ||
# - make clean all | ||
# - make run | ||
# - '(grep -rn Success!" ./work/transcript)' | ||
# - (! grep -rn "Fail!" ./work/transcript) | ||
# | ||
# hwpe-test: | ||
# extends: .redmule-vsim-tpl | ||
# variables: | ||
# SETUP-CONFIG: "setup-hwpe" | ||
# parallel: | ||
# matrix: | ||
# - { M: 32, N=32, K=32 } | ||
# | ||
# complex-test: | ||
# extends: .redmule-vsim-tpl | ||
# variables: | ||
# SETUP-CONFIG: "setup-complex" | ||
# parallel: | ||
# matrix: | ||
# - { M: 32, N=32, K=32 } |