commit
b7dec18088
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
git clone https://github.com/steveicarus/ivtest.git
|
||||||
|
cd ivtest
|
||||||
|
|
||||||
|
if [ "$OS" = 'Windows_NT' ]; then
|
||||||
|
perl update_msys2_report.pl
|
||||||
|
perl vvp_reg.pl
|
||||||
|
diff --strip-trailing-cr regression_report-msys2.txt regression_report.txt
|
||||||
|
else
|
||||||
|
perl vvp_reg.pl
|
||||||
|
diff regression_report-devel.txt regression_report.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
perl vpi_reg.pl
|
||||||
|
|
@ -27,18 +27,15 @@ jobs:
|
||||||
sudo apt update -qq
|
sudo apt update -qq
|
||||||
sudo apt install -y make g++ git bison flex gperf libreadline-dev autoconf
|
sudo apt install -y make g++ git bison flex gperf libreadline-dev autoconf
|
||||||
|
|
||||||
- name: Build and test
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/steveicarus/ivtest.git
|
|
||||||
export PATH=$HOME/bin:$PATH
|
|
||||||
autoconf
|
autoconf
|
||||||
./configure --prefix=$HOME
|
./configure
|
||||||
make install
|
sudo make install
|
||||||
make check
|
make check
|
||||||
cd ivtest
|
|
||||||
perl vvp_reg.pl
|
- name: Test
|
||||||
diff regression_report-devel.txt regression_report.txt
|
run: ./.github/test.sh
|
||||||
perl vpi_reg.pl
|
|
||||||
|
|
||||||
|
|
||||||
win:
|
win:
|
||||||
|
|
@ -62,20 +59,11 @@ jobs:
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/steveicarus/ivtest.git
|
export mingw64='cmd //C RefreshEnv.cmd & set MSYS=winsymlinks:nativestrict & C:\\msys64\\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "$@" --'
|
||||||
|
|
||||||
export msys2='cmd //C RefreshEnv.cmd '
|
|
||||||
export msys2+='& set MSYS=winsymlinks:nativestrict '
|
|
||||||
export msys2+='& C:\\msys64\\msys2_shell.cmd -defterm -no-start'
|
|
||||||
export mingw64="$msys2 -mingw64 -full-path -here -c "\"\$@"\" --"
|
|
||||||
export msys2+=" -msys2 -c "\"\$@"\" --"
|
|
||||||
|
|
||||||
$mingw64 ./autoconf.sh
|
$mingw64 ./autoconf.sh
|
||||||
$mingw64 ./configure
|
$mingw64 ./configure
|
||||||
$mingw64 make install
|
$mingw64 make install
|
||||||
$mingw64 make check
|
$mingw64 make check
|
||||||
cd ivtest
|
|
||||||
$mingw64 perl update_msys2_report.pl
|
$mingw64 ./.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