mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
appveyor iterate
This commit is contained in:
parent
d6912ef401
commit
87962e062b
2 changed files with 16 additions and 7 deletions
15
appveyor-build.sh
Executable file
15
appveyor-build.sh
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo ================================================================
|
||||
cd $APPVEYOR_BUILD_FOLDER
|
||||
pwd
|
||||
ls -l
|
||||
|
||||
echo ================================================================
|
||||
sed 's/-lm/-lm -lpcreposix/' c/Makefile.am > temp; mv temp c/Makefile.am
|
||||
sed 's/-lm/-lm -lpcreposix/' c/unit_test/Makefile.am > temp; mv temp c/unit_test/Makefile.am
|
||||
sed 's/#undef MLR_ON_MSYS2/#define MLR_ON_MSYS2/' c/lib/mlr_arch.h > temp; mv temp c/lib/mlr_arch.h
|
||||
|
||||
echo ================================================================
|
||||
./configure
|
||||
make
|
||||
|
|
@ -9,10 +9,4 @@ install:
|
|||
- bash -lc "pacman --noconfirm -S msys2-runtime"
|
||||
|
||||
build_script:
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; pwd"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; ls -l"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; sed 's/-lm/-lm -lpcreposix/' c/Makefile.am > temp; mv temp c/Makefile.am"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; sed 's/-lm/-lm -lpcreposix/' c/unit_test/Makefile.am > temp; mv temp c/unit_test/Makefile.am"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; sed 's/#undef MLR_ON_MSYS2/#define MLR_ON_MSYS2/' c/lib/mlr_arch.h > temp; mv temp c/lib/mlr_arch.h"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./configure"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; make"
|
||||
- bash -lc "cd $APPVEYOR_BUILD_FOLDER; bash -x appveyor-build.sh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue