-
Notifications
You must be signed in to change notification settings - Fork 565
Enable partial Linux builds for Copilot support #24494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
418acdd
Initial plan
Copilot d08f626
Add Linux build support - fix system checks and Makefile issues
Copilot 7d7ff7c
Fix sed and cache directory issues for Linux builds
Copilot 7fcbf2e
Address PR feedback: remove ProjectInspector.csproj files, use 'place…
Copilot c5ff867
Skip runtime directory on Linux to avoid native compilation
Copilot e807828
Add GitHub Actions workflow to verify Linux builds
Copilot 9863bda
Remove accidentally added build artifact file
Copilot e348f28
Simplify Linux build workflow based on PR feedback
Copilot a21bcfb
Fix Linux build issues: XCODE_VERSION/URL unconditioned, fix DotNetGl…
Copilot a717133
Fix sed syntax for Linux in create-makefile-fragment.sh
Copilot b321c1f
Fix case-sensitivity: rename quicklookUI.cs to quicklookui.cs
Copilot aa692f5
Fix case-sensitivity: rename ILLink.Substitutions files to match plat…
Copilot 3245a76
Skip AppleDocReader (macOS-only tool) on Linux for documentation gene…
Copilot 5696bcd
Merge branch 'main' into copilot/make-repository-build-linux
rolfbjarne 17478cd
Skip Windows package builds on Linux
Copilot 8e7d97a
Skip xmllint XML validation on Linux (xmllint not available)
Copilot 1456993
Skip native registrar builds in mmp/mtouch on Linux (require Xcode)
Copilot 15c2f11
Fix git blame caret issue in create-make-config.sh for Linux builds
Copilot 20e527b
Use parallel make in Linux build workflow for improved build speed
Copilot 47a15c4
Merge main and add ProjectInspector.csproj to .gitignore
Copilot 9e6af94
Include Make.common in dotnet-linker Makefile to enable ProductConsta…
Copilot a5c54ed
Add explicit dependencies for ProductConstants.cs and SdkVersions.cs …
Copilot 42cad91
Fix ln command flags for Linux: use -Fs instead of -Fhs
Copilot 36a7445
Skip dotnet directory on Linux (workload installation requires macOS …
Copilot a266265
Skip tests/test-libraries directory on Linux (requires native compila…
Copilot 9695ecb
Merge branch 'main' into copilot/make-repository-build-linux
rolfbjarne 032f258
Restore tools/common/ProjectInspector.csproj (should not have been de…
Copilot 60a13a0
Fix sed -i usage to prevent '' suffix on generated files on macOS
Copilot 9c6901f
Rename SED_INPLACE to SED_INPLACE_FLAGS for clarity
Copilot 43b99e2
Use bash array for SED_INPLACE_FLAGS to properly handle empty string …
Copilot 8b76d8e
Refactor SUBDIRS pattern: use conditional addition instead of filtering
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # yamllint disable rule:line-length rule:document-start rule:truthy | ||
| name: Linux Build Verification | ||
| on: | ||
| pull_request: | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| linux-build: | ||
| name: Verify Linux Build | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: 'Checkout' | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| submodules: recursive | ||
|
|
||
| - name: Check system dependencies | ||
| run: | | ||
| set -ex | ||
| ./system-dependencies.sh | ||
|
|
||
| - name: Build on Linux | ||
| run: | | ||
| set -ex | ||
| make -j$(nproc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot the XCODE_VERSION and XCODE_URL variables don't need to be conditioned on Linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit a21bcfb.
XCODE_VERSIONandXCODE_URLare now set unconditionally (outside theifndef IS_LINUXblock).