Commit Graph
131 Commits
Author SHA1 Message Date
Danny Mösch 06c00f9a32 Test release archive in build 2025-09-06 16:06:15 +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 MackeyandDanny 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
Danny Mösch ac476aaf13 Run Swift linting job with Bazel for better caching (#6130) 2025-06-22 20:24:37 +02:00
dependabot[bot] d3768ef9e9 Bump DavidAnson/markdownlint-cli2-action (#6083)
Bumps the github-actions group with 1 update: [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action).


Updates `DavidAnson/markdownlint-cli2-action` from 19 to 20
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-version: '20'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-15 20:21:54 +00:00
Danny Mösch fdae475c0b Switch some build steps to Swift 6.1 (#6047) 2025-04-06 12:25:58 +02:00
Danny Mösch b643e61f71 Inherit secrets 2025-04-05 15:59:57 +02:00
Danny Mösch a98a6bcc32 Extract author details configuration 2025-04-05 15:40:12 +02:00
Danny Mösch 392203ec80 Operate Git as authenticated user 2025-04-05 14:32:32 +02:00
Danny Mösch dbc4805a78 Merge remote branch 2025-04-05 13:30:46 +02:00
Danny Mösch 50e93704f8 Make Podspec linting a dedicated job running on macOS 2025-04-05 12:56:06 +02:00
Danny Mösch 30d635a568 Set up Ruby and Bundler using action 2025-04-05 12:44:34 +02:00
Danny Mösch f16075e618 Install bundler 2025-04-05 12:36:18 +02:00
Danny Mösch 4e5d4231d5 Add checkout step 2025-02-15 17:05:46 +01:00
Danny Mösch 2dd7c25062 Use shorter name 2025-02-15 17:04:30 +01:00
Danny Mösch b8e0ed5aa5 Add action that marks/closes stale issues 2025-02-15 17:03:05 +01:00
Danny Mösch b1198b77d5 Restrict permissions of remaining workflows (#5997) 2025-02-11 23:03:48 +01:00
Danny Mösch 2cdb8685a7 Restrict workflow permissions (#5996) 2025-02-11 09:22:15 +01:00
Danny Mösch a2032f9a49 Delete branch after merge 2025-02-10 23:03:14 +01:00
Danny Mösch 2686268a91 Fix linting issues in README (#5991) 2025-02-08 21:25:56 +01:00
Danny Mösch 2ba03c17b9 Add job to lint workflow files (#5989) 2025-02-04 10:33:23 +01:00
Danny Mösch f4ccdc4863 Automatically merge release branch upon publishing a release 2025-02-02 21:04:17 +01:00
Danny Mösch c3e6bbbfe7 Fix issues reported by ShellCheck 2025-01-19 17:39:16 +01:00
Danny Mösch b368c42f4f Lint Markdown files in PRs (#5972) 2025-01-19 13:21:51 +00:00
Danny Mösch f6e4adc065 Run Pod publishing on Xcode 15.0.1
CocoaPods selects the oldest SDK/simulator available on a machine. On
Github Action runners, this would be iOS 17, which only works with
Xcode 15.0.1.
2025-01-18 14:00:27 +01:00
Danny Mösch 77a76a2f32 Make use of author information in later release steps 2025-01-17 22:55:30 +01:00
Danny Mösch a1c27db5b4 Retrieve author information with Homebrew action 2025-01-17 22:32:06 +01:00