Skip to content
Snippets Groups Projects
Commit 13b14101 authored by ZettaScript's avatar ZettaScript
Browse files

[ci] Test Arch package job

parent 2b6fd471
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !207. Comments created here will be created in the context of that merge request.
stages: stages:
- no_ci - no_ci
- package
- fmt - fmt
- tests - tests
- clippy - clippy
- package
- publish_crate - publish_crate
- publish_doc - publish_doc
- prerelease - prerelease
...@@ -195,7 +195,9 @@ package:test:lin64:arch: ...@@ -195,7 +195,9 @@ package:test:lin64:arch:
refs: refs:
- tags - tags
script: script:
- bash "release/arch/linux-x64/build-arch.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)" - useradd --no-create-home --shell=/bin/false builduser && usermod -L builduser
- 'echo "builduser ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
- sudo -u builduser -n PATH=$PATH:/root/.cargo/bin/ bash "release/arch/linux-x64/build-arch.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)"
artifacts: artifacts:
paths: paths:
- work/bin/ - work/bin/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment