|
62 | 62 | brew install coreutils |
63 | 63 | ;; |
64 | 64 | esac |
65 | | - - name: Build with platform features |
66 | | - shell: bash |
67 | | - run: | |
68 | | - ## Build with platform-specific features to enable l10n functionality |
69 | | - cargo build --features ${{ matrix.job.features }} |
70 | 65 | - name: Test l10n functionality |
71 | 66 | shell: bash |
72 | 67 | run: | |
@@ -149,10 +144,6 @@ jobs: |
149 | 144 | sudo apt-get -y update ; sudo apt-get -y install libselinux1-dev |
150 | 145 | sudo locale-gen --keep-existing fr_FR.UTF-8 |
151 | 146 | locale -a | grep -i fr || exit 1 |
152 | | - - name: Build coreutils with clap localization support |
153 | | - shell: bash |
154 | | - run: | |
155 | | - cargo build --features feat_os_unix --bin coreutils |
156 | 147 | - name: Test English clap error localization |
157 | 148 | shell: bash |
158 | 149 | run: | |
@@ -321,11 +312,6 @@ jobs: |
321 | 312 | ## Generate French locale for testing |
322 | 313 | sudo locale-gen --keep-existing fr_FR.UTF-8 |
323 | 314 | locale -a | grep -i fr || echo "French locale not found, continuing anyway" |
324 | | - - name: Build coreutils with l10n support |
325 | | - shell: bash |
326 | | - run: | |
327 | | - ## Build coreutils with Unix features and l10n support |
328 | | - cargo build --features feat_os_unix --bin coreutils |
329 | 315 | - name: Test French localization |
330 | 316 | shell: bash |
331 | 317 | run: | |
@@ -706,7 +692,7 @@ jobs: |
706 | 692 | mkdir -p "$CARGO_INSTALL_DIR" |
707 | 693 |
|
708 | 694 | # Install using cargo with l10n features |
709 | | - cargo install --path . --features ${{ matrix.job.features }} --root "$CARGO_INSTALL_DIR" --locked |
| 695 | + cargo install --path . --features "ls,cat,touch" --root "$CARGO_INSTALL_DIR" --locked |
710 | 696 |
|
711 | 697 | # Verify installation |
712 | 698 | echo "Testing cargo-installed binaries..." |
@@ -1379,11 +1365,3 @@ jobs: |
1379 | 1365 | echo "::warning::More locales than expected ($total_match_count entries)" |
1380 | 1366 | echo "This might be expected for utility + uucore locales" |
1381 | 1367 | fi |
1382 | | -
|
1383 | | - l10n_locale_embedding_regression_test: |
1384 | | - name: L10n/Locale Embedding Regression Test |
1385 | | - runs-on: ubuntu-latest |
1386 | | - needs: [l10n_locale_embedding_cat, l10n_locale_embedding_ls, l10n_locale_embedding_multicall, l10n_locale_embedding_cargo_install] |
1387 | | - steps: |
1388 | | - - name: All locale embedding tests passed |
1389 | | - run: echo "✓ All locale embedding tests passed successfully" |
0 commit comments