mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
add scaphandre 3
This commit is contained in:
parent
0672b5f13e
commit
5e0e6c5d1f
1 changed files with 6 additions and 4 deletions
10
.github/workflows/pipeline.yml
vendored
10
.github/workflows/pipeline.yml
vendored
|
@ -16,15 +16,17 @@ jobs:
|
||||||
|
|
||||||
- name: Setup Rust and Scaphandre
|
- name: Setup Rust and Scaphandre
|
||||||
run: |
|
run: |
|
||||||
# Installer Rust si nécessaire
|
|
||||||
if ! command -v cargo &> /dev/null; then
|
if ! command -v cargo &> /dev/null; then
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Installer Scaphandre et configurer les permissions
|
# Installer Scaphandre et configurer les permissions
|
||||||
cargo install scaphandre
|
cargo install scaphandre
|
||||||
sudo setcap cap_sys_rawio=+ep $(which scaphandre)
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
|
sudo cp $HOME/.cargo/bin/scaphandre /usr/local/bin/
|
||||||
|
sudo setcap cap_sys_rawio=+ep /usr/local/bin/scaphandre
|
||||||
sudo chmod +r /dev/cpu/*/msr
|
sudo chmod +r /dev/cpu/*/msr
|
||||||
|
|
||||||
- name: Setup directories and install dependencies
|
- name: Setup directories and install dependencies
|
||||||
|
|
Loading…
Reference in a new issue