Verified Commit 9c7a4a6d authored by Jordan Petridis's avatar Jordan Petridis 🌱

gitlabci: Add needed ENV vars.

abc8fb98 uses an feature of rayon
that's behind a compile time flag. The flag was added to the
buildscript and flatpak manifest but not in the CI config.
Do not ask me why either CI job does not use meson or the flatpak
manifest. I hate computers...
parent abc8fb98
Pipeline #9117 failed with stages
in 9 minutes and 37 seconds
......@@ -5,9 +5,9 @@ stages:
.cargo_test_template: &cargo_test
stage: test
# variables:
# RUSTFLAGS: "-C link-dead-code"
# RUST_BACKTRACE: "FULL"
variables:
RUSTFLAGS: "--cfg rayon_unstable"
RUST_BACKTRACE: "FULL"
before_script:
- apt-get update -yqq
......@@ -59,7 +59,7 @@ flatpak:
# Build the flatpak repo
- flatpak-builder --run app org.gnome.Hammond.json meson --prefix=/app --libdir=/app/lib _build
- flatpak-builder --run app org.gnome.Hammond.json ninja -C _build install
- flatpak-builder --run app org.gnome.Hammond.json RUSTFLAGS="--cfg rayon_unstable" ninja -C _build install
- flatpak-builder --finish-only app org.gnome.Hammond.json
- flatpak build-export repo app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment