mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
Fixes #787
This commit is contained in:
parent
4c8845b57b
commit
8606ae4866
1 changed files with 13 additions and 0 deletions
|
@ -11,8 +11,16 @@ build:
|
||||||
tea.xyz/gx/cc: c99
|
tea.xyz/gx/cc: c99
|
||||||
tea.xyz/gx/make: '*'
|
tea.xyz/gx/make: '*'
|
||||||
cmake.org: ^3
|
cmake.org: ^3
|
||||||
|
git-scm.org: '*'
|
||||||
working-directory: build
|
working-directory: build
|
||||||
script: |
|
script: |
|
||||||
|
# duckdb uses git to get its version
|
||||||
|
git init ..
|
||||||
|
git config user.email "bot@tea.xyz"
|
||||||
|
git config user.name "teabot"
|
||||||
|
git commit --allow-empty -mnil
|
||||||
|
git tag v{{version}}
|
||||||
|
|
||||||
cmake ..
|
cmake ..
|
||||||
make --jobs {{ hw.concurrency }}
|
make --jobs {{ hw.concurrency }}
|
||||||
mkdir -p "{{prefix}}"/bin
|
mkdir -p "{{prefix}}"/bin
|
||||||
|
@ -46,3 +54,8 @@ test:
|
||||||
EOS)
|
EOS)
|
||||||
|
|
||||||
test "$out" = "$exp"
|
test "$out" = "$exp"
|
||||||
|
|
||||||
|
if [[ "$(duckdb --version)" != "v{{version}}"* ]]; then
|
||||||
|
echo "invalid version" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue