This commit is contained in:
philipp 2023-07-30 19:20:04 +02:00
parent dd9ed3ae07
commit b51529c3db

View File

@ -5,13 +5,13 @@ variables:
before_script:
- 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:
stage: build
script:
- cargo build --release --target $CARGO_TARGET
- cd frontend && npm run build
- cd frontend && npm install && npm run build
- strip target/$CARGO_TARGET/release/rot
artifacts:
paths: