File: .gitlab-ci.yml

package info (click to toggle)
rust-html2md 0.2.15-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 484 kB
  • sloc: makefile: 2
file content (27 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
variables:
  GET_SOURCES_ATTEMPTS: "3"
  GIT_SUBMODULE_STRATEGY: "recursive"

stages:
  - linux build


build on default image:
  image: rust
  stage: linux build
  dependencies: []
  before_script: &common_compile_debian
    - apt-get update -qq && apt-get install -y -qq binutils
    - export CARGO_HOME="${PWD}/.cargo_cache"
  script: &common_script
    - cargo build --release
  after_script:
    - strip target/release/libhtml2md.so
  artifacts: &common_artifacts
    paths:
      - target/release/libhtml2md.so
  cache:
    paths:
      - target/
      - .cargo_cache/