Danny Mösch
69ce1470d8
Fix variable access
2025-10-28 10:58:34 +01:00
Danny Mösch
462b26eede
Fix license paths
2025-10-28 10:56:29 +01:00
Satoshi Namai and Danny Mösch
8ee8523246
Introduce mimalloc to static Linux binaries ( #6321 )
...
mimalloc is performant memory allocator written in C that works as drop-in replacement for malloc and supports builds for musl. Compared with other popular allocators like jemalloc or tcmalloc, it's a fair option.
https://github.com/microsoft/mimalloc
Also, in the Swift compiler project (swiftlang/swift), mimaloc has been adopted as the allocator in Windows's toolchain (not runtime!):
https://forums.swift.org/t/se-454-adopt-mimalloc-for-windows-toolchain/
Co-authored-by: Danny Mösch <danny.moesch@icloud.com >
2025-10-28 09:26:22 +00:00
dependabot[bot]
8c4ef0de7e
Bump actions/upload-artifact from 4.6.2 to 5.0.0 ( #6323 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/ea165f8d65b6e75b540449e92b4886f43607fa02...330a01c490aca151604b8cf639adc76d48f6c5d4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 20:00:32 +01:00
dependabot[bot]
4c0a93d533
Bump ruby/setup-ruby from 1.265.0 to 1.267.0 ( #6324 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.265.0 to 1.267.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/ab177d40ee5483edb974554986f56b33477e21d0...d5126b9b3579e429dd52e51e68624dda2e05be25 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.267.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 19:59:30 +01:00
Danny Mösch
fb8a4a259e
Declare DEVELOPER_DIR for the whole job
2025-10-20 23:19:25 +02:00
Danny Mösch
25ef2ea69b
Remove trailing comma ( #6297 )
2025-10-13 22:56:24 +02:00
Danny Mösch
5c09dd802f
Remove outdated parameter
2025-10-13 22:16:19 +02:00
Danny Mösch
c75ae5c578
Run release build jobs with Xcode 26
2025-10-12 20:37:59 +02:00
Danny Mösch
d75cc4f880
Run release build jobs on macOS 26
2025-10-12 20:33:58 +02:00
Danny Mösch
9208d4870e
Update default Swift version to 6.2 on runners
2025-10-12 20:04:42 +02:00
Satoshi Namai
f67943d4f8
Use 512KiB of thread stack size for static Linux binaries ( #6291 )
2025-10-12 07:26:20 +00:00
dependabot[bot]
a158a4275a
Bump ruby/setup-ruby from 1.263.0 to 1.265.0 ( #6293 )
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.263.0 to 1.265.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](https://github.com/ruby/setup-ruby/compare/0481980f17b760ef6bca5e8c55809102a0af1e5a...ab177d40ee5483edb974554986f56b33477e21d0 )
---
updated-dependencies:
- dependency-name: ruby/setup-ruby
dependency-version: 1.265.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 19:48:17 +00:00
dependabot[bot]
c330e58de8
Bump peter-evans/repository-dispatch from 3.0.0 to 4.0.0 ( #6281 )
...
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch ) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases )
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/ff45666b9427631e3450c54a1bcbee4d9ff4d7c0...5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f )
---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
dependency-version: 4.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 16:51:23 +02:00
Danny Mösch
fa6e2a109b
Report missing Swift docs as inline violations in PRs ( #6272 )
2025-10-03 12:11:31 +00:00
dependabot[bot]
92cd723185
Bump ruby/setup-ruby from 1.257.0 to 1.263.0 ( #6267 )
2025-09-30 05:50:22 +00:00
dependabot[bot]
9d381ea4ef
Bump actions/upload-pages-artifact from 3 to 4 ( #6265 )
2025-09-30 07:38:19 +02:00
dependabot[bot]
15a5983aa5
Bump actions/download-artifact from 4.3.0 to 5.0.0 ( #6266 )
2025-09-30 07:37:17 +02:00
dependabot[bot]
82b0f5c74f
Bump actions/checkout from 4.3.0 to 5.0.0 ( #6264 )
2025-09-30 07:36:00 +02:00
dependabot[bot]
588e26bdbc
Bump docker/login-action from 3.5.0 to 3.6.0 ( #6263 )
2025-09-30 07:34:00 +02:00
Danny Mösch
3522309fcf
Pin actions/cache to specific SHA ( #6262 )
2025-09-29 12:43:57 +00:00
Danny Mösch
aa67f5ac13
Adopt typed throws where possible ( #5922 )
2025-09-27 19:11:46 +02:00
Danny Mösch
427565fe1b
Re-add workaround for download issue with Swift 5.10 ( #6256 )
2025-09-24 22:02:50 +00:00
Danny Mösch
aa9dbac294
Run tests with Swift 6.2 as well ( #6251 )
2025-09-23 22:19:15 +02:00
Danny Mösch
3574e393d7
Run tests on macOS 26 with Xcode 26 as well ( #6247 )
2025-09-12 20:23:09 +02:00
Danny Mösch
764a9bbeb1
Build static binaries from release branch
2025-09-03 23:49:48 +02:00
Danny Mösch
bd829b5eb4
Simplify folder structure for release artifacts
2025-09-02 23:30:53 +02:00
Danny Mösch
0f91017259
Add static Linux binaries to release archives ( #6218 )
2025-09-02 22:20:00 +02:00
Danny Mösch
367fd13ae7
Combine build jobs using matrix strategy
2025-08-31 17:32:29 +02:00
Danny Mösch
da74086498
Revert "Pass only relevant secret"
...
This reverts commit 6c8468a491 .
2025-08-30 15:21:38 +02:00
Danny Mösch
6c8468a491
Pass only relevant secret
2025-08-30 15:18:00 +02:00
Danny Mösch
d11a65bfa5
Pin actions to specific SHAs
2025-08-30 15:18:00 +02:00
Danny Mösch
98c30205af
Avoid storing Git credentials on disk if not required by follow-up steps
2025-08-30 15:18:00 +02:00
Danny Mösch
96df29d72c
Remedy risk of template code injection
2025-08-30 15:18:00 +02:00
Danny Mösch
025a7bfd64
Prefer short and readable repository names ( #6205 )
2025-08-24 18:03:30 +02:00
Danny Mösch
2a6092c213
Fix artifact paths
2025-08-20 18:46:55 +02:00
Danny Mösch
8b57d4c7c7
Install dependencies required by statically linked Linux binaries
2025-08-20 18:10:41 +02:00
Danny Mösch
32bbc5b6d6
Inline Docker build script ( #6196 )
...
With #6193 , both Docker variants are built on different machines, so
that not both binaries need to be handled at once.
Since the binaries are not used as release artifacts anymore, dynamic
linking should be fine as well.
2025-08-20 18:06:52 +02:00
Danny Mösch
39646724dd
Build Linux releases with SPM and static linking
...
Bazel does not support that yet, so the whole Swift standard library
would be required to run the binary.
2025-08-19 23:23:09 +02:00
Danny Mösch
ede20069e7
Split Docker workflow to build for different platforms in parallel ( #6193 )
...
* Split Docker build to avoid slow cross-compilation
* Push digests of intermediate builds only
* Inline permissions to have them more fine-grained
* Build on runners matching the platform to compile for
* Run on every push to main
* Extract build steps into reusable action
2025-08-17 22:30:55 +02:00
Danny Mösch
e75981494f
Build Linux binaries for releases without Docker ( #6192 )
...
Given that Swift is installed on Linux runners and there are ARM runners
available, too, we can just build the binaries directly with Bazel and
not rely on Docker.
The Docker images will be created post-release now as additional release
artifacts and not as prerequisites for other artifacts.
2025-08-16 19:36:43 +02:00
Bradley Mackey and Danny Mösch
ad30ecef67
Build and provide ARM64 Linux binaries ( #6015 )
...
Co-authored-by: Danny Mösch <danny.moesch@icloud.com >
2025-08-16 17:31:23 +02:00
Danny Mösch
64fe977b81
Use installed Swift instead of Docker container
2025-08-09 09:07:05 +02:00
Danny Mösch
8a1e56ea24
Define consistent and unique cache keys ( #6182 )
...
Take OS name, build tool, Swift version and dependencies into account.
2025-08-08 20:00:59 +00:00
Danny Mösch
1d46d6cca2
Let Copilot build and test with SPM ( #6181 )
...
Bazel doesn't work well on Linux, especially in non-release mode and when building tests. This partially reverts a809480d4a .
2025-08-08 19:04:53 +02:00
Danny Mösch
a809480d4a
Let Copilot prefer Bazel ( #6173 )
...
* Add instructions for rule registration
* Add setup steps for coding agent using Bazel
* Make callable workflow so that its environment also applies to subsequent steps
2025-08-04 18:16:59 +02:00
Danny Mösch
5738a6138e
Revert "Add setup steps for coding agent"
...
This reverts commit deb3678e6f .
2025-08-01 16:31:39 +02:00
Danny Mösch
deb3678e6f
Add setup steps for coding agent
2025-08-01 16:22:16 +02:00
Danny Mösch
571e6c1818
Run remaining Azure build jobs on GitHub Actions ( #6149 )
2025-07-09 22:43:50 +02:00
Danny Mösch
d14e22a57f
Migrate Linux builds from Azure to GitHub Actions ( #6132 )
...
This allows for better reusability and integration. macOS builds still run on Azure due to GitHub's limitation of up to 5 macOS jobs running concurrently.
2025-06-24 10:07:17 +02:00