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:
parent
2b294bb368
commit
0345dc8bdc
1 changed files with 3 additions and 5 deletions
8
.github/workflows/CICD.yml
vendored
8
.github/workflows/CICD.yml
vendored
|
@ -1056,6 +1056,7 @@ jobs:
|
||||||
run: limactl start --plain --name=default --cpus=1 --disk=30 --memory=4 --network=lima:user-v2 template://fedora
|
run: limactl start --plain --name=default --cpus=1 --disk=30 --memory=4 --network=lima:user-v2 template://fedora
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
uses: lima-vm/lima-actions/ssh@v1
|
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
|
- name: Setup Rust and other build deps in VM
|
||||||
run: |
|
run: |
|
||||||
lima sudo dnf install gcc g++ git rustup libselinux-devel clang-devel -y
|
lima sudo dnf install gcc g++ git rustup libselinux-devel clang-devel -y
|
||||||
|
@ -1064,10 +1065,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
lima getenforce
|
lima getenforce
|
||||||
lima ls -laZ /etc/selinux
|
lima ls -laZ /etc/selinux
|
||||||
- name: Clone Repository
|
|
||||||
run: |
|
|
||||||
lima git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
|
||||||
- name: Build and Test with SELinux
|
- name: Build and Test with SELinux
|
||||||
run: |
|
run: |
|
||||||
lima df -h
|
lima ls
|
||||||
lima bash -c "cd coreutils && cargo test --features 'feat_selinux'"
|
lima bash -c "cd work && cargo test --features 'feat_selinux'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue