Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/GnuTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
sudo locale-gen --keep-existing am_ET.UTF-8 # Ethiopia
sudo locale-gen --keep-existing th_TH.UTF-8 # Thailand
sudo locale-gen --keep-existing zh_CN.GB18030 # China
sudo localedef --no-archive --no-warnings=ascii -f SHIFT_JIS -i ja_JP ja_JP.SHIFT_JIS

Check warning on line 91 in .github/workflows/GnuTests.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'localedef' (file:'.github/workflows/GnuTests.yml', line:91)

sudo update-locale
echo "After:"
Expand Down Expand Up @@ -316,6 +316,8 @@
sudo apt-get update
sudo apt-get install -y qemu-system-x86 zstd cpio
- name: Run GNU SMACK/ROOTFS tests
env:
GH_TOKEN: ${{ github.token }}
run: |
cd uutils
bash util/run-gnu-tests-smack-ci.sh "$GITHUB_WORKSPACE/gnu" "$GITHUB_WORKSPACE/gnu/tests-qemu"
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

env:
CARGO_INCREMENTAL: "0"
GNU_COREUTILS_DEB_URL: "https://github.com/uutils/thirdparty-artifacts/releases/download/coreutils-ppa-9.12-0ubuntu1-ppa1/gnu-coreutils_9.12-0ubuntu1.ppa1_amd64.deb"
GNU_COREUTILS_RELEASE_TAG: "coreutils-ppa-9.12-0ubuntu1-ppa1"
GNU_COREUTILS_DEB_FILE: "gnu-coreutils_9.12-0ubuntu1.ppa1_amd64.deb"
GNU_COREUTILS_DEB_SHA256: "c6f5b255a927d24d769a39d714cca8b41c6125b7e04a5186c0d99007ab296cf1"
on:
pull_request:
Expand All @@ -23,7 +24,7 @@
paths: *fuzz_paths

permissions:
contents: read # to fetch code (actions/checkout)
contents: read

# End the current execution if there is a new changeset in the PR.
concurrency:
Expand Down Expand Up @@ -123,8 +124,13 @@
with:
workspaces: "fuzz -> target"
- name: fetch gnu-coreutils .deb
env:
GH_TOKEN: ${{ github.token }}
run: |
curl -fsSL --retry 2 -o coreutils.deb ${GNU_COREUTILS_DEB_URL}
gh release download "$GNU_COREUTILS_RELEASE_TAG" \
--repo uutils/thirdparty-artifacts \

Check warning on line 131 in .github/workflows/fuzzing.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'thirdparty' (file:'.github/workflows/fuzzing.yml', line:131)
--pattern "$GNU_COREUTILS_DEB_FILE" \
--output coreutils.deb
echo $GNU_COREUTILS_DEB_SHA256 coreutils.deb | sha256sum -c
- name: Use latest GNU coreutils as system coreutils
run: |
Expand Down Expand Up @@ -197,9 +203,14 @@
with:
persist-credentials: false
- name: fetch gnu-coreutils .deb
env:
GH_TOKEN: ${{ github.token }}
run: |
curl -fsSL --retry 2 -o coreutils.deb ${GNU_COREUTILS_DEB_URL}
echo ${GNU_COREUTILS_DEB_SHA256} coreutils.deb | sha256sum -c
gh release download "$GNU_COREUTILS_RELEASE_TAG" \
--repo uutils/thirdparty-artifacts \

Check warning on line 210 in .github/workflows/fuzzing.yml

View workflow job for this annotation

GitHub Actions / Style/spelling (ubuntu-latest, feat_os_unix)

WARNING: `cspell`: Unknown word 'thirdparty' (file:'.github/workflows/fuzzing.yml', line:210)
--pattern "$GNU_COREUTILS_DEB_FILE" \
--output coreutils.deb
echo $GNU_COREUTILS_DEB_SHA256 coreutils.deb | sha256sum -c
- name: Use latest GNU coreutils as system coreutils
run: |
sudo dpkg -i coreutils.deb
Expand Down
5 changes: 4 additions & 1 deletion util/run-gnu-tests-smack-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ sudo apt-get install -y --no-install-recommends linux-image-generic
sudo install -Dvm644 "$(ls -1 /boot/vmlinuz-*-generic | head -n 1)" "$QEMU_DIR/kernel/vmlinuz"

# Setup busybox
curl -fsSL -o busybox.tar.zst https://github.com/uutils/thirdparty-artifacts/releases/download/busybox-arch-1.36.1-4/busybox-1.36.1-4-x86_64.pkg.tar.zst
gh release download busybox-arch-1.36.1-4 \
--repo uutils/thirdparty-artifacts \
--pattern busybox-1.36.1-4-x86_64.pkg.tar.zst \
--output busybox.tar.zst
echo "14b14151bbc901c6e0c7cbb21fa73db2540df91cdea2a0ff1caf20be2cd8c333 busybox.tar.zst" | sha256sum -c
tar --zstd -xf busybox.tar.zst usr/bin/busybox
install -Dvm755 usr/bin/busybox "$QEMU_DIR/rootfs/bin/busybox"
Expand Down
Loading