Commit Graph

23 Commits

Author SHA1 Message Date
Danny Mösch dc791e1b69 Temporarily run builds as GitHub actions 2024-06-16 13:34:31 +02:00
JP Simard 3511512dce Revert "Publish a multi-platform Docker image" (#5363)
This reverts commit 73c49d5a48.
2023-11-19 15:06:43 -05:00
JP Simard 73c49d5a48 Publish a multi-platform Docker image
Addresses https://github.com/realm/SwiftLint/issues/4531
2023-11-16 19:02:48 -05:00
JP Simard f9e7ffa6d9 Fix Docker (#5238)
Swift 5.9 needs more dynamic libraries to be available, which grows the
size of the final Docker image from 423MB to 449MB.
2023-09-26 17:35:04 +00:00
JP Simard 0f802f766a [CI] Remove update_swift_syntax.yml (#4906)
We now manually update SwiftSyntax as needed.
2023-04-18 21:35:43 +00:00
Gabriel Féron 409f117da9 Use Ubuntu 20.04 to release Linux binaries (#4882)
* Use Ubuntu 20.04 to release Linux binaries

Using the latest version of Ubuntu leads to incompatibilities with `glibc` versions from LTS versions.

* Use Ubuntu 20.04 for Azure pipelines
2023-04-13 13:25:43 -04:00
JP Simard e6d4ad653c Pin SwiftSyntax to a tagged version (#4674)
Specifically this tag:
https://github.com/apple/swift-syntax/releases/tag/0.50800.0-SNAPSHOT-2022-12-29-a

This should make SwiftPM happier about the stability of the pinned
version.

Also switch the CI job to run on macOS to avoid adding Linux-only deps
to the `Package.resolved` file (e.g. CryptoSwift).
2023-01-06 13:10:59 -05:00
JP Simard 100b3eec2a Update Docker CI job to use actions/checkout@v3 (#4675) 2023-01-06 18:04:50 +00:00
JP Simard 0c828e35fb Improve automated Swift Syntax update PR messages 2022-11-08 09:52:20 -05:00
JP Simard 374130bb56 Update SwiftSyntax on a weekly scheduled CI job (#4475) 2022-10-24 16:37:29 -04:00
JP Simard ea41b9fd09 Rename default branch from master to main (#4116) 2022-09-01 07:09:46 -04:00
JP Simard 235264bb7e Stop building Docker images for Swift 5.5 (#4068)
Follow-up to https://github.com/realm/SwiftLint/pull/4037
2022-08-07 22:03:45 -04:00
JP Simard 21bb280068 Build additional Docker image with Swift 5.5 (#3904)
* Build additional Docker image with Swift 5.5
* Build `swiftlint_linux_swift_5_5.zip`
2022-03-17 17:27:05 -04:00
JP Simard 068f6037fe [CI] Move back to Azure Pipelines (#3826)
Yesterday I started moving SwiftLint's CI jobs from Azure Pipelines to
GitHub Actions, which has nicer integrations with GitHub's web UI and
feels nicer & more lightweight overall.

However, GitHub Actions has a serious limitation compared to Azure
Pipelines, which is that it only has 5x macOS job concurrency vs Azure's
10x ([see Twitter](https://twitter.com/simjp/status/1326592600393068546)).
This leads to significant queuing when merging PRs or pushing to PRs in
a short span, which is the main way I work on SwiftLint when catching up
on PR/issue backlog every few months.

A quick timing check showed that a PR using Azure Pipelines (#3825) took
26m 47s vs GitHub Actions (#3824) took 32m 31s. These PRs were opened at
a time when no other CI jobs were running, so even though Azure
Pipelines already took 6 minutes less to run than GitHub Actions, that
difference would be even larger if there had been other PRs triggering
CI jobs at the same time.

So I think the best move for the project for the time being is to stay
with Azure Pipelines for its CI. If GitHub ever increases its macOS
concurrency to match Azure Pipelines's 10x we can explore this again.
2022-01-25 13:56:58 -08:00
JP Simard 4525e9999b Move remaining CI jobs to GitHub Actions (#3822)
Analyze, TSan, Xcode & Docs
2022-01-24 20:29:33 -08:00
JP Simard 83560fffa7 Move SwiftLint Analyze CI job to GitHub Actions (#3820) 2022-01-24 16:25:39 -08:00
JP Simard 2bd54cf3ce Move CocoaPods CI jobs to GitHub Actions (#3819) 2022-01-24 15:24:42 -08:00
JP Simard 4c3bb24a04 Move SwiftPM CI jobs to GitHub Actions (#3818) 2022-01-24 14:59:14 -08:00
JP Simard 3d1821d3c0 Revert "Publish a multi-platform Docker image"
This reverts commits 76dae19b1c &
11e86babc7.
2022-01-21 15:38:21 -05:00
JP Simard 76dae19b1c fixup! Publish a multi-platform Docker image 2022-01-21 15:36:14 -05:00
JP Simard 11e86babc7 Publish a multi-platform Docker image 2022-01-21 15:33:00 -05:00
JP Simard f38083998d Update docker.yml 2022-01-21 07:39:47 -08:00
Francisco Javier Trujillo Mata a2ada88fd1 Upload Docker Image in to Github Container (#3791) 2022-01-21 07:38:47 -08:00