fix(edgedb)

closes #5776
This commit is contained in:
Jacob Heider 2024-04-02 15:43:00 -04:00 committed by Jacob Heider
parent c6596b72bd
commit f9609abda4

View file

@ -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