@@ -24,13 +24,13 @@ build:
|
|||||||
script:
|
script:
|
||||||
- cargo +nightly build
|
- cargo +nightly build
|
||||||
|
|
||||||
test:
|
# test:
|
||||||
image: registry.karaolidis.com/karaolidis/qrust/rust
|
# image: registry.karaolidis.com/karaolidis/qrust/rust
|
||||||
stage: test
|
# stage: test
|
||||||
cache:
|
# cache:
|
||||||
<<: *global_cache
|
# <<: *global_cache
|
||||||
script:
|
# script:
|
||||||
- cargo +nightly test
|
# - cargo +nightly test
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
image: registry.karaolidis.com/karaolidis/qrust/rust
|
image: registry.karaolidis.com/karaolidis/qrust/rust
|
||||||
@@ -48,7 +48,7 @@ depcheck:
|
|||||||
<<: *global_cache
|
<<: *global_cache
|
||||||
script:
|
script:
|
||||||
- cargo +nightly outdated
|
- cargo +nightly outdated
|
||||||
- cargo +nightly udeps
|
- cargo +nightly udeps --all-targets
|
||||||
|
|
||||||
build-release:
|
build-release:
|
||||||
image: registry.karaolidis.com/karaolidis/qrust/rust
|
image: registry.karaolidis.com/karaolidis/qrust/rust
|
||||||
|
@@ -1,4 +1,12 @@
|
|||||||
FROM rust
|
FROM rust:bookworm
|
||||||
|
|
||||||
|
RUN apt-get update -y && apt-get upgrade -y
|
||||||
|
RUN apt-get install -y python3 python3-setuptools python3-pip
|
||||||
|
RUN apt-get clean
|
||||||
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN pip3 install torch==2.1.0+cpu --index-url https://download.pytorch.org/whl/cpu --break-system-packages
|
||||||
|
ENV LIBTORCH_USE_PYTORCH 1
|
||||||
|
|
||||||
RUN rustup install nightly
|
RUN rustup install nightly
|
||||||
RUN rustup component add rustfmt clippy --toolchain nightly
|
RUN rustup component add rustfmt clippy --toolchain nightly
|
||||||
|
Reference in New Issue
Block a user