Skip to content

Remove redundant macOS bitcode generation job - #197

Merged
yuleisui merged 3 commits into
masterfrom
copilot/fix-github-actions-workflow
Sep 29, 2026
Merged

yuleisui merged 3 commits into
masterfrom
copilot/fix-github-actions-workflow

Conversation

Copilot AI commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

The macOS job redundantly regenerated and pushed tracked bitcode, failing on platform-specific tests and a merge conflict. Ubuntu had already generated and uploaded the artifacts.

  • Workflow: Remove mac_build; retain Ubuntu as the sole bitcode generation and push job.

Co-authored-by: yuleisui <7608399+yuleisui@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix GitHub Actions workflow for LLVM bitcode generation Remove redundant macOS bitcode generation job Sep 29, 2026
Copilot AI requested a review from yuleisui September 29, 2026 13:12
@yuleisui
yuleisui marked this pull request as ready for review September 29, 2026 13:23
Copilot AI balanced review requested due to automatic review settings September 29, 2026 13:23
@yuleisui
yuleisui merged commit dbd7791 into master Sep 29, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The skipped Windows test has no committed bitcode artifact, so it disappears from the generated test suite.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Removes redundant macOS bitcode generation while adapting Ubuntu generation to preserve Windows-specific bitcode.

Changes:

  • Removes the mac_build workflow job.
  • Preserves and skips regeneration of Windows-only bitcode.
  • Reuses extracted filenames during compilation.
File Description
generate_bc.sh Updates cleanup and Windows-specific artifact handling.
.github/​workflows/​Test-Suite.yml Removes the redundant macOS job.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread generate_bc.sh
Comment on lines +82 to +84
if [ "$td" = "mem_leak" ] && [ "$filename" = "leak_win_heap.c" ]; then
echo "$0: Skipping '$c_f' (preserving '$preserved_bc')"
continue
@yuleisui

Copy link
Copy Markdown
Collaborator

@copilot the leak_win_heap.bc need to be committed into the repo under test_cases_bc/mem_leak folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants