1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Don't clone, just take the sources from the gh runner

This commit is contained in:
Sylvestre Ledru 2025-03-14 08:49:37 +01:00
parent 2b294bb368
commit 0345dc8bdc

View file

@ -1056,6 +1056,7 @@ jobs:
run: limactl start --plain --name=default --cpus=1 --disk=30 --memory=4 --network=lima:user-v2 template://fedora
- name: Setup SSH
uses: lima-vm/lima-actions/ssh@v1
- run: rsync -v -a -e ssh . lima-default:~/work/
- name: Setup Rust and other build deps in VM
run: |
lima sudo dnf install gcc g++ git rustup libselinux-devel clang-devel -y
@ -1064,10 +1065,7 @@ jobs:
run: |
lima getenforce
lima ls -laZ /etc/selinux
- name: Clone Repository
run: |
lima git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
- name: Build and Test with SELinux
run: |
lima df -h
lima bash -c "cd coreutils && cargo test --features 'feat_selinux'"
lima ls
lima bash -c "cd work && cargo test --features 'feat_selinux'"