[CI] Cleanup

Use new archive input to rework artifacts.
Add runs-on and llvm_version inputs and ubuntu_base output to Lint so it can be passed to the Linux job.
Remove broken config input.
Upgrade Windows to VS2026.
This commit is contained in:
Margen67
2026-06-18 13:26:34 -07:00
parent 2771366b8b
commit dd858e234c
6 changed files with 150 additions and 204 deletions

View File

@@ -14,37 +14,36 @@ jobs:
fetch-depth: 0
- name: Validate commit messages
run: |
run: |-
BASE="${{ github.event.pull_request.base.sha }}"
HEAD="${{ github.event.pull_request.head.sha }}"
COMMITS=$(git log --format="%H %s" "${BASE}..${HEAD}" --)
COMMITS=$(git log --format='%H %s' "${BASE}..$HEAD" --)
if [ -z "${COMMITS}" ]; then
if [ -z "$COMMITS" ]; then
echo "No commits found in this PR."
exit 0
fi
FAILED=0
while IFS= read -r LINE; do
SHA="${LINE%% *}"
MSG="${LINE#* }"
SHORT="${SHA::7}"
if echo "${MSG}" | grep -qP '^\[.+?\]'; then
echo "✅ ${SHORT}: ${MSG}"
if echo "$MSG" | grep -qP '^\[.+?\]'; then
echo "✅ ${SHORT}: $MSG"
else
echo "❌ ${SHORT}: ${MSG}"
echo "::error::Commit ${SHORT} is missing a [Tag] prefix. Expected format: [Tag] Description (e.g. [CPU] Fix overflow in JIT)"
echo "❌ ${SHORT}: $MSG"
echo "::error::Commit $SHORT is missing a [Tag] prefix. Expected format: [Tag] Description (e.g. [CPU] Fix overflow in JIT)"
FAILED=1
fi
done <<< "${COMMITS}"
echo ""
echo
if [ "${FAILED}" -eq 1 ]; then
if [ -n "$FAILED" ]; then
echo "::error::One or more commits are missing a [Tag] prefix."
echo ""
echo
echo "Expected format: [Tag] Description"
echo "Examples: [CPU] <commit message>"
echo " [GPU] <commit message>"