Skip to content
Open
Changes from 1 commit
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
9 changes: 8 additions & 1 deletion .github/workflows/build-and-test-split-callable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,14 @@ jobs:
shell: bash
run: |
cd $GITHUB_WORKSPACE
tar xf $RUNNER_TEMP/build-artifacts.tar --touch
tar xf $RUNNER_TEMP/build-artifacts.tar
- name: Refresh artifact timestamps
shell: powershell
run: |
# Touch all extracted build outputs so ninja sees them as newer
# than source files and skips rebuilding.
Get-ChildItem -Recurse -File DXC\build\bin, llvm-project\build |
ForEach-Object { $_.LastWriteTime = Get-Date }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can this really get away with being windows only?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, on line 230 we guard this code against macOS runs.
MacOS will not do any of this artifact download / upload stuff, since it is so fast it doesn't need this optimization, and I think this whole thing will be simpler if we exclude MacOS.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

See my post-commit review here: #1067 (review) - I have some misgivings about these architectural choices.


- name: Setup Windows x64
if: runner.arch != 'ARM64'
Expand Down
Loading