This website works better with JavaScript.
Home
Help
Sign In
tmeissner
/
cryptocores
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
ci: update test script
master
umarcor
4 years ago
parent
2e20cf9400
commit
24bee6a79b
2 changed files
with
16 additions
and
6 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-4
.github/test.sh
+2
-2
.github/workflows/simulation.yml
+ 14
- 4
.github/test.sh
View File
@ -4,14 +4,24 @@ set -e
cd
$(
dirname
"
$0
"
)
/..
cd
$(
dirname
"
$0
"
)
/..
run_sim
(
)
{
case
"
$1
"
in
sim
)
true
;
;
*
)
echo
"
Unknown test suite '
$1
'
"
exit
1
;
;
esac
run_task
(
)
{
echo
"
::group::Test
$1
"
echo
"
::group::Test
$1
"
cd
"
$1
"
/sim/vhdl
$MAKE
sim
cd
"
$1
"
/
"
$2
"
/vhdl
$MAKE
"
$2
"
cd
../../..
cd
../../..
echo
'::endgroup::'
echo
'::endgroup::'
}
}
for
item in aes cbcdes cbcmac_des cbctdes ctraes des tdes
;
do
for
item in aes cbcdes cbcmac_des cbctdes ctraes des tdes
;
do
run_sim
$item
run_
task
"
$item
"
"
$1
"
done
done
+ 2
- 2
.github/workflows/simulation.yml
View File
@ -28,7 +28,7 @@ jobs:
backend
:
llvm
backend
:
llvm
-
name
:
'▶️ Test'
-
name
:
'▶️ Test'
run
:
./.github/test.sh
run
:
./.github/test.sh
sim
env:
env:
MAKE
:
make
MAKE
:
make
@ -61,6 +61,6 @@ jobs:
mingw-w64-x86_64-openssl
mingw-w64-x86_64-openssl
-
name
:
'▶️ Test'
-
name
:
'▶️ Test'
run
:
./.github/test.sh
run
:
./.github/test.sh
sim
env:
env:
MAKE
:
mingw32-make
MAKE
:
mingw32-make
Write
Preview
Loading…
Cancel
Save