-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use AppVeyor to build Windows packages #226
Comments
現状はMariaDBの各種バージョンのデバッグビルドのみなので |
matrixにWindowsパッケージ作成のみのを追加するのがよさそう |
https://github.com/cosmo0920/PowerShell-for-Mroonga-building はリリース版もしくはnightlyのみ対応 |
https://github.com/cosmo0920/PowerShell-for-Mroonga-building#execution-order-ps1-if-it-executes-individually で個別実行でビルドすれば特に手をいれなくてもよさそう。 |
nightlyそのままだとうれしくないか。nightly版のmroongaをmasterに置き換えるほうが妥当そう。 |
↑を利用してビルドが走るところまでは確認できた。 |
.install-mroonga.ps1でとまる。 |
#230 いったんdraftのPRに。 |
以前試したがうまくいかなかった(原因はよくわらない)というフィードバックを得た。 |
そもそも、以下のようにmysqldが起動できていない。
|
ただし、 |
Start-Processで上げっぱなしだとCIが終了しない気がするので、以下のようにするとmysqldを終了できる気がします。 PS> $job = Start-Process .\bin\mysqld.exe -NoNewWindow -PassThru
PS> $Env:MYSQLD_JOB_ID = $job.Id
PS> Stop-Process -Id $Env:MYSQLD_JOB_ID あ、でもすぐに終了するなら環境変数に入れなくてもいいか。 PS> $job = Start-Process .\bin\mysqld.exe -NoNewWindow -PassThru
PS> Stop-Process -Id $job.Id |
リダイレクトが制限されている。
|
shutdownするようになっているからそこが動けば大丈夫なはず。 |
とか
ではshow enginesしても反映されていないみたい。実行自体はエラーになっていなさそうなんだが。 |
するといいんじゃないかと教えてもらって試したらいけた。 |
なおしたやつはPRとして投げた。 |
zipにするまえにビルドでこけていた。
|
version.hはあらかじめ生成されている前提だった。groongaがリリース版じゃないからね。 |
こんな感じでbase_versionから生成できそう。
|
versions.ps1の書き換え(ただし10.3.12のみ対象にしているからあまり意味はないとversion.hの問題に対処したはずなので様子見。 |
成果物はPRにまとめた。 |
#230 がマージされたのでclose |
No description provided.
The text was updated successfully, but these errors were encountered: