message: start electrs build earlier
diff: @@ -28,7 +28,6 @@ stages:
  - static_checks
  - build_depends
  - build
  - - build_extras
  - build_tests
  - qa_tests
  - benchmark_tests
  @@ -163,34 +162,31 @@ build-debian:
  - ./build/qa/*
  - ./qa/*
  -
  -build-debian-tests:
  - stage: build_tests
  - extends: .cache-debian
  - needs: ["build-debian"]
  - script:
  - - (cd build/src; ./test/test_bitcoin)
  - dependencies:
  - - build-debian
  -
  build-debian-electrscash:
  - stage: build_extras
  + stage: build
  extends: .cache-debian
  - needs: ["build-debian"]
  + needs: [build-debian-deps]
  script:
  + - mkdir build;
  - export PATH=$PATH:`pwd`/depends/x86_64-unknown-linux-gnu/native/bin # for cargo
  - ./autogen.sh > /dev/null
  - cd build
  - ../configure --cache-file=config.cache --prefix=$PWD/../depends/x86_64-unknown-linux-gnu > /dev/null
  - make electrscash
  dependencies:
  - - build-debian
  + - build-debian-deps
  artifacts:
  paths:
  - - ./build/src/bitcoind
  - ./build/src/electrscash
  - - ./build/qa/*
  - - ./qa/*
  +
  +build-debian-tests:
  + stage: build_tests
  + extends: .cache-debian
  + needs: ["build-debian"]
  + script:
  + - (cd build/src; ./test/test_bitcoin)
  + dependencies:
  + - build-debian
  test-debian-qa:
  stage: qa_tests
  @@ -224,7 +220,7 @@ test-debian-benchmarks:
  test-debian-qa-electrscash:
  stage: qa_tests
  extends: .cache-debian
  - needs: ["build-debian-electrscash"]
  + needs: ["build-debian", "build-debian-electrscash"]
  script:
  - mkdir -p $CI_PROJECT_DIR/cores
  - mkdir -p $CI_PROJECT_DIR/saved-cores
  @@ -233,6 +229,7 @@ test-debian-qa-electrscash:
  ./qa/pull-tester/rpc-tests.py --electrum-only --no-ipv6-rpc-listen --gitlab)
  dependencies:
  - build-debian-electrscash
  + - build-debian
  artifacts:
  when: on_failure
  paths:
  