3737 steps :
3838 # ### Get the code, setup cache
3939 - name : Checkout code (uutils)
40- uses : actions/checkout@v5
40+ uses : actions/checkout@v6
4141 with :
4242 path : ' uutils'
4343 persist-credentials : false
5959 with :
6060 workspaces : " ./uutils -> target"
6161 - name : Checkout code (GNU coreutils)
62- uses : actions/checkout@v5
62+ uses : actions/checkout@v6
6363 with :
6464 repository : ' coreutils/coreutils'
6565 path : ' gnu'
8080 run : |
8181 ## Install dependencies
8282 sudo apt-get update
83- sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev libselinux1-dev attr quilt
83+ ## Check that build-gnu.sh works on the non SELinux system by installing libselinux only on lima
84+ sudo apt-get install -y autopoint gperf gdb python3-pyinotify valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev attr quilt
8485 - name : Add various locales
8586 shell : bash
8687 run : |
9899 sudo locale-gen --keep-existing en_US
99100 sudo locale-gen --keep-existing en_US.UTF-8
100101 sudo locale-gen --keep-existing ru_RU.KOI8-R
102+ sudo locale-gen --keep-existing fa_IR.UTF-8 # Iran
103+ sudo locale-gen --keep-existing am_ET.UTF-8 # Ethiopia
104+ sudo locale-gen --keep-existing th_TH.UTF-8 # Thailand
101105
102106 sudo update-locale
103107 echo "After:"
@@ -109,7 +113,7 @@ jobs:
109113 run : |
110114 ## Build binaries
111115 cd 'uutils'
112- bash util/build-gnu.sh --release-build
116+ env PROFILE=release-small bash util/build-gnu.sh
113117
114118 # ## Run tests as user
115119 - name : Run GNU tests
@@ -169,7 +173,7 @@ jobs:
169173 steps :
170174 # ### Get the code, setup cache
171175 - name : Checkout code (uutils)
172- uses : actions/checkout@v5
176+ uses : actions/checkout@v6
173177 with :
174178 path : ' uutils'
175179 persist-credentials : false
@@ -191,7 +195,7 @@ jobs:
191195 with :
192196 workspaces : " ./uutils -> target"
193197 - name : Checkout code (GNU coreutils)
194- uses : actions/checkout@v5
198+ uses : actions/checkout@v6
195199 with :
196200 repository : ' coreutils/coreutils'
197201 path : ' gnu'
@@ -235,7 +239,7 @@ jobs:
235239 - name : Install dependencies in VM
236240 run : |
237241 lima sudo dnf -y update
238- lima sudo dnf -y install git autoconf autopoint bison texinfo gperf gcc g++ gdb jq libacl-devel libattr-devel libcap-devel libselinux-devel attr rustup clang-devel texinfo-tex wget automake patch quilt
242+ lima sudo dnf -y install git autoconf autopoint bison texinfo gperf gcc gdb jq libacl-devel libattr-devel libcap-devel libselinux-devel attr rustup clang-devel texinfo-tex automake patch quilt
239243 lima rustup-init -y --default-toolchain stable
240244 - name : Copy the sources to VM
241245 run : |
@@ -244,7 +248,7 @@ jobs:
244248 # ## Build
245249 - name : Build binaries
246250 run : |
247- lima bash -c "cd ~/work/uutils/ && bash util/build-gnu.sh --release-build "
251+ lima bash -c "cd ~/work/uutils/ && SELINUX_ENABLED=1 PROFILE=release-small bash util/build-gnu.sh"
248252
249253 # ## Run tests as user
250254 - name : Generate SELinux tests list
@@ -328,7 +332,7 @@ jobs:
328332
329333 outputs TEST_SUMMARY_FILE AGGREGATED_SUMMARY_FILE
330334 - name : Checkout code (uutils)
331- uses : actions/checkout@v5
335+ uses : actions/checkout@v6
332336 with :
333337 path : ' uutils'
334338 persist-credentials : false
0 commit comments