Commit Graph

409 Commits

Author SHA1 Message Date
YR Chen
be5a06555f Add support for SWIFTCI_USE_LOCAL_DEPS in swift-inspect
If the `SWIFTCI_USE_LOCAL_DEPS` environment variable is set, we're building in the Swift.org CI system alongside other projects in the Swift toolchain and we can depend on local versions of our dependencies instead of fetching them remotely.
2023-11-09 20:02:14 +08:00
Tristan Labelle
258c420349 Update build.ps1 for installer changes for VCRuntime merge modules 2023-11-09 06:22:06 -05:00
Saleem Abdulrasool
2e348d2bc0 Merge pull request #69575 from compnerd/stage
build: adjust the installer build and artifact staging
2023-11-07 13:44:42 +00:00
Saleem Abdulrasool
c80901b17e Merge pull request #69651 from compnerd/shaving
build: tweak the Windows build to build against the internal swift-syntax
2023-11-06 05:12:20 -08:00
Saleem Abdulrasool
48715298d4 build: add additional download checking for the image
Ensure that the downloaded image matches the expected image.  This
ensures that we catch download errors as well as provides some level of
security by requiring that the download checksum matches.
2023-11-05 08:51:34 -08:00
Saleem Abdulrasool
f7cd9ab1c0 build: tweak the Windows build to build against the internal swift-syntax
Use the internal copy of swift-syntax that the compiler uses for macros
to build the LSP. By sharing the swift-syntax build, we shave ~6MiB off
the LSP binary. Additionally, we avoid building swift-syntax twice as a
single copy is now used.
2023-11-03 16:02:56 -07:00
Saleem Abdulrasool
5da8b3fa09 build: adjust the installer build and artifact staging
Adjust the installer to allow it to be built for foreign architectures.
Additionally, adjust the artifact staging to include additional content
that was missed previously in order to enable code signing.
2023-11-03 13:24:09 -07:00
Saleem Abdulrasool
4fb2614e6c build: update build.ps1, use update-checkout for more dependencies
Update the build.ps1 to match the current state which introduces
`-BuildTo` and updates most of the dependencies. Take the opportunity to
migrate to update-checkout for the majority of the dependencies. The
SQLite amalgamation and installer image are still fetched later, and ICU
is still cloned in the CI wrapper.
2023-11-01 14:16:15 -07:00
Tristan Labelle
3a863c4825 Migrate the Windows build to build.ps1, a new build script (#69337)
* Switch to build.ps1
* Update build.ps1 to the latest
* Update to latest build.ps1
* Update build-windows-toolchain.bat
- Update the curl pin to 8.4.0
- Stage artifacts to expected location
* Update build.ps1
Stage cabs and MSIs as well.
* Update build.ps1
* Update build.ps1

---------

Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
2023-10-31 14:11:19 -07:00