Skip to content

Commit

Permalink
Merge pull request #4019 from tgross35/backport-sort-semver-files
Browse files Browse the repository at this point in the history
[0.2] Ensure that semver files are always sorted in CI
  • Loading branch information
tgross35 authored Nov 7, 2024
2 parents 58a6e50 + 961cc3d commit 8814407
Show file tree
Hide file tree
Showing 27 changed files with 2,664 additions and 2,654 deletions.
12 changes: 11 additions & 1 deletion ci/style.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
#!/bin/sh

set -ex

Expand All @@ -18,3 +18,13 @@ else
exit 1
fi

for file in libc-test/semver/*.txt; do
case "$file" in
*TODO*) continue ;;
esac

if ! sort -C "$file"; then
echo "Unsorted semver file $file"
exit 1
fi
done
4 changes: 2 additions & 2 deletions libc-test/semver/android-aarch64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ HWCAP2_SVESM4
PROT_BTI
PROT_MTE
SYS_arch_specific_syscall
SYS_fcntl
SYS_lseek
SYS_mmap
SYS_syscalls
SYS_fcntl
__system_property_wait
user_regs_struct
user_fpsimd_struct
user_regs_struct
Loading

0 comments on commit 8814407

Please sign in to comment.