ci: add non-preemptible exceptions
Signed-off-by: Adam Olech <aolech@antmicro.com>
This commit is contained in:
parent
52e9db39b4
commit
1b7094ffec
|
@ -11,6 +11,11 @@ examples = [
|
|||
"hello-a"
|
||||
]
|
||||
|
||||
non_preemptible = [
|
||||
"litex",
|
||||
"litex_linux"
|
||||
]
|
||||
|
||||
jobs = []
|
||||
|
||||
osvers = [
|
||||
|
@ -29,14 +34,16 @@ for osver in osvers:
|
|||
'fpga-fam': "xc7",
|
||||
'os': osver[0],
|
||||
'os-version': osver[1],
|
||||
'example': example
|
||||
'example': example,
|
||||
'preemptible': str(example not in non_preemptible).lower(),
|
||||
} for example in examples]
|
||||
|
||||
jobs += [{
|
||||
'fpga-fam': "eos-s3",
|
||||
'os': osver[0],
|
||||
'os-version': osver[1],
|
||||
'example': "counter"
|
||||
'example': "counter",
|
||||
'preemptible': str(True).lower(),
|
||||
} for osver in osvers]
|
||||
|
||||
print('::set-output name=matrix::' + str(jobs))
|
||||
|
|
|
@ -35,6 +35,7 @@ jobs:
|
|||
env:
|
||||
LANG: "en_US.UTF-8"
|
||||
DEBIAN_FRONTEND: "noninteractive"
|
||||
GHA_PREEMPTIBLE: ${{ matrix.preemptible }}
|
||||
|
||||
container: ${{matrix.os}}:${{matrix.os-version}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue