Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jeehoonkang committed May 8, 2024
1 parent c73c81c commit 099672d
Show file tree
Hide file tree
Showing 17 changed files with 459 additions and 222 deletions.
26 changes: 20 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ cache:
variables:
RUST_BACKTRACE: "FULL"

image: "rust:latest"
image: rust:latest

stages:
- install
- test
- deploy

install:
stage: install
script:
- rustup default stable
- rustc --version # triggering installation

check:
stage: test
Expand All @@ -35,13 +36,26 @@ check:
debug:
stage: test
before_script:
- apt update && apt install -yy gcc-riscv64-linux-gnu g++-riscv64-linux-gnu qemu-user-static
- (echo 'Acquire::http { Proxy "http://10.22.0.2:3142"; }' | tee -a /etc/apt/apt.conf.d/01proxy) && apt update && apt install -yy clang gcc-riscv64-linux-gnu g++-riscv64-linux-gnu qemu-user-static
script:
- RUST_MIN_STACK=8388608 cargo test
- RUST_MIN_STACK=8388608 cargo test -- --nocapture

release:
stage: test
before_script:
- apt update && apt install -yy gcc-riscv64-linux-gnu g++-riscv64-linux-gnu qemu-user-static
- (echo 'Acquire::http { Proxy "http://10.22.0.2:3142"; }' | tee -a /etc/apt/apt.conf.d/01proxy) && apt update && apt install -yy clang gcc-riscv64-linux-gnu g++-riscv64-linux-gnu qemu-user-static
script:
- RUST_MIN_STACK=8388608 cargo test --release
- RUST_MIN_STACK=8388608 cargo test --release -- --nocapture

pages:
stage: deploy
before_script:
# - apt update && apt install -yy
script:
- cargo doc
- mkdir -p public && cp -r target/doc/* public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
Loading

0 comments on commit 099672d

Please sign in to comment.