ci: add 'test.sh'
This commit is contained in:
parent
bda74bcd56
commit
b8ea1e5cfe
|
|
@ -0,0 +1,13 @@
|
||||||
|
git clone https://github.com/steveicarus/ivtest.git
|
||||||
|
cd ivtest
|
||||||
|
|
||||||
|
if [ "$OS" = 'Windows_NT' ]; then
|
||||||
|
$mingw64 perl update_msys2_report.pl
|
||||||
|
$mingw64 perl vvp_reg.pl
|
||||||
|
diff --strip-trailing-cr regression_report-msys2.txt regression_report.txt
|
||||||
|
$mingw64 perl vpi_reg.pl
|
||||||
|
else
|
||||||
|
perl vvp_reg.pl
|
||||||
|
diff regression_report-devel.txt regression_report.txt
|
||||||
|
perl vpi_reg.pl
|
||||||
|
fi
|
||||||
|
|
@ -29,16 +29,13 @@ jobs:
|
||||||
|
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/steveicarus/ivtest.git
|
|
||||||
export PATH=$HOME/bin:$PATH
|
export PATH=$HOME/bin:$PATH
|
||||||
autoconf
|
autoconf
|
||||||
./configure --prefix=$HOME
|
./configure --prefix=$HOME
|
||||||
make install
|
make install
|
||||||
make check
|
make check
|
||||||
cd ivtest
|
|
||||||
perl vvp_reg.pl
|
sh .github/test.sh
|
||||||
diff regression_report-devel.txt regression_report.txt
|
|
||||||
perl vpi_reg.pl
|
|
||||||
|
|
||||||
|
|
||||||
win:
|
win:
|
||||||
|
|
@ -62,8 +59,6 @@ jobs:
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/steveicarus/ivtest.git
|
|
||||||
|
|
||||||
export msys2='cmd //C RefreshEnv.cmd '
|
export msys2='cmd //C RefreshEnv.cmd '
|
||||||
export msys2+='& set MSYS=winsymlinks:nativestrict '
|
export msys2+='& set MSYS=winsymlinks:nativestrict '
|
||||||
export msys2+='& C:\\msys64\\msys2_shell.cmd -defterm -no-start'
|
export msys2+='& C:\\msys64\\msys2_shell.cmd -defterm -no-start'
|
||||||
|
|
@ -74,8 +69,5 @@ jobs:
|
||||||
$mingw64 ./configure
|
$mingw64 ./configure
|
||||||
$mingw64 make install
|
$mingw64 make install
|
||||||
$mingw64 make check
|
$mingw64 make check
|
||||||
cd ivtest
|
|
||||||
$mingw64 perl update_msys2_report.pl
|
sh .github/test.sh
|
||||||
$mingw64 perl vvp_reg.pl
|
|
||||||
diff --strip-trailing-cr regression_report-msys2.txt regression_report.txt
|
|
||||||
$mingw64 perl vpi_reg.pl
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue