Skip to content

Commit

Permalink
Bump minimum Swift to 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Jan 5, 2024
1 parent ff4bfa9 commit 7180811
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-13']
swift: ['5.8', '5.9']
swift: ['5.9']

runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: "swift:5.8"
image: "swift:5.9"

stages:
- build
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# FIXME: There are still issues with 5.9, see https://github.com/apple/swift-sdk-generator/issues/12#issuecomment-1777670789
ARG SWIFTVERSION=5.8.1
ARG SWIFTVERSION=5.9.1
ARG UBUNTUDISTRO=jammy

FROM swift:${SWIFTVERSION}-${UBUNTUDISTRO} AS sysroot
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.8
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ General-purpose assistant for Discord and IRC with more than 340 commands, inclu
To build and run D2 locally, make sure to have the following installed:

- Linux or macOS 10.15+
- Swift 5.8+
- Swift 5.9+
- Node.js and npm (for LaTeX rendering)

On Ubuntu, run
Expand Down

0 comments on commit 7180811

Please sign in to comment.