mirror of
https://gitlab.com/hagrid-keyserver/hagrid.git
synced 2023-02-13 20:55:02 -05:00
32 lines
818 B
YAML
32 lines
818 B
YAML
stages:
|
|
- build
|
|
|
|
build:binary:
|
|
stage: build
|
|
tags:
|
|
- docker
|
|
image: "rustlang/rust:nightly"
|
|
script:
|
|
- 'echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list.d/testing-nettle.list'
|
|
- 'echo "Package: *\nPin: release a=testing\nPin-Priority: 150" > /etc/apt/preferences.d/limit_testing'
|
|
- apt update -y
|
|
- apt upgrade -y
|
|
- apt install -y libclang-dev build-essential pkg-config clang nettle-dev/testing
|
|
- cargo build --release
|
|
artifacts:
|
|
paths:
|
|
- target/release/hagrid
|
|
|
|
build:web:
|
|
stage: build
|
|
tags:
|
|
- docker
|
|
image: "node:8"
|
|
script:
|
|
- apt update -y
|
|
- apt upgrade -y
|
|
- npm install
|
|
- npm run build
|
|
artifacts:
|
|
paths:
|
|
- dist
|