ci/win: add 'build.sh'

This commit is contained in:
umarcor 2020-11-30 22:19:38 +01:00
parent 8da8261fc3
commit 5c76ce3923
2 changed files with 16 additions and 4 deletions

15
.github/build.sh vendored Executable file
View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
wrap_task() {
echo "::group::$@"
"$@"
echo '::endgroup::'
}
wrap_task ./autoconf.sh
wrap_task ./configure
wrap_task make install
which iverilog
wrap_task make check

View File

@ -61,9 +61,6 @@ jobs:
run: |
export mingw64='cmd //C RefreshEnv.cmd & set MSYS=winsymlinks:nativestrict & C:\\msys64\\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "$@" --'
$mingw64 ./autoconf.sh
$mingw64 ./configure
$mingw64 make install
$mingw64 make check
$mingw64 ./.github/build.sh
$mingw64 ./.github/test.sh