mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
c6596b72bd
commit
f9609abda4
1 changed files with 7 additions and 11 deletions
|
@ -13,24 +13,20 @@ build:
|
||||||
perl.org: ^5
|
perl.org: ^5
|
||||||
env:
|
env:
|
||||||
RUSTFLAGS:
|
RUSTFLAGS:
|
||||||
# Ignore warnings (to focus on errors)
|
# Ignore warnings (to focus on errors)
|
||||||
- -A warnings
|
- -A warnings
|
||||||
# Reduce build size by excluding debug symbols.
|
# Reduce build size by excluding debug symbols.
|
||||||
- -C debuginfo=0
|
- -C debuginfo=0
|
||||||
script:
|
script:
|
||||||
# Required to avoid conflicts
|
# Required to avoid conflicts
|
||||||
- mv build.rs build.rs.bak || true
|
- mv build.rs build.rs.bak || true
|
||||||
# match contains an unknown arm
|
# match contains an unknown arm
|
||||||
- run: |
|
- run: sed -i -e's|T::Argument => None|// T::Argument => None|' highlight.rs
|
||||||
sed -i.bak -e's|T::Argument => None|// T::Argument => None|' \
|
|
||||||
highlight.rs
|
|
||||||
rm highlight.rs.bak
|
|
||||||
working-directory: src
|
working-directory: src
|
||||||
if: '>=4'
|
if: '>=4'
|
||||||
- cargo install --path . --root {{prefix}}
|
- cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
test:
|
test: test "$(edgedb --version)" = "EdgeDB CLI {{version.raw}}"
|
||||||
test "$(edgedb --version)" = "EdgeDB CLI {{version.raw}}"
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/edgedb
|
- bin/edgedb
|
||||||
|
|
Loading…
Reference in a new issue