Verified Commit c9f47fe5 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.
parent abc8fb98
Pipeline #9118 failed with stages
in 8 minutes and 14 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
......
......@@ -1503,7 +1503,7 @@ dependencies = [
[[package]]
name = "rss"
version = "1.4.0"
source = "git+https://github.com/alatiera/rss#ca25285cb44d82c8dadfefe05f248ea9a14c996c"
source = "git+https://github.com/alatiera/rss#b4a5ff563bf3ab6f1c83b5c79e625ff0292aa480"
dependencies = [
"derive_builder 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"failure 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
......
......@@ -42,7 +42,7 @@ impl Feed {
}
fn index_channel_items(self, pd: Podcast) -> Box<Future<Item = (), Error = DataError> + Send> {
let stream = stream::iter_ok::<_, DataError>(self.channel.items_owened());
let stream = stream::iter_ok::<_, DataError>(self.channel.items_owned());
let insert = stream
.filter_map(move |item| {
glue(&item, pd.id())
......
#!/bin/sh
export CARGO_HOME=$1/target/cargo-home
export RUSTFLAGS=--cfg rayon_unstable
export RUSTFLAGS="--cfg rayon_unstable"
cargo build --release -p hammond-gtk && cp $1/target/release/hammond-gtk $2
\ No newline at end of file
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