This commit is contained in:
philipp 2023-07-30 19:20:04 +02:00
parent 2beff31a71
commit d1dd5372bd

View File

@ -5,13 +5,13 @@ variables:
before_script: before_script:
- rustup target add $CARGO_TARGET - rustup target add $CARGO_TARGET
- apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 && ./test_db.sh - apt-get update -qq && apt-get install -y -qq sshpass musl musl-tools sqlite3 npm && ./test_db.sh
build: build:
stage: build stage: build
script: script:
- cargo build --release --target $CARGO_TARGET - cargo build --release --target $CARGO_TARGET
- cd frontend && npm run build - cd frontend && npm install && npm run build
- strip target/$CARGO_TARGET/release/rot - strip target/$CARGO_TARGET/release/rot
artifacts: artifacts:
paths: paths: