Skip to content

Setup Swift more Swiftly 🚀 (setup-swift 3.0) #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
f1e8dbf
Upgrade some dependencies
fwal Apr 23, 2025
d7fe7b9
Formatting
fwal Apr 23, 2025
a63db63
New set of core functions
fwal Apr 23, 2025
9137113
First stab at a setup that uses Swiftly
fwal Apr 23, 2025
a3be174
Use swiftly for linux and disable mac and windows
fwal Apr 23, 2025
118a8ad
Delete obsolete files
fwal Apr 23, 2025
8af8152
Remove dependabot automerge
fwal Apr 23, 2025
39d38bb
Only run linux tests
fwal Apr 23, 2025
d140809
Pass arguments correctly
fwal Apr 23, 2025
99e5509
Ignore formatting distribution
fwal Apr 23, 2025
7b6c294
Use machine name when downloading
fwal Apr 23, 2025
4a6c27e
Remove rather than comment out
fwal Apr 23, 2025
34bd249
Skip verifying signature for now
fwal Apr 23, 2025
3ca7285
Use better flags when running on CI
fwal Apr 23, 2025
773f80d
Less vebose, skip follow up
fwal Apr 23, 2025
4d64676
Merge branch 'main' into next
fwal Apr 23, 2025
92e5754
Remove unknown flag when installing
fwal Apr 24, 2025
e0d40ca
Try to install prerequisites
fwal Apr 24, 2025
65e6cb0
Do a better version check
fwal Apr 24, 2025
18e7056
Lets use the same format at Swift does
fwal Apr 24, 2025
6c06631
Try out Ubuntu on arm
fwal Apr 24, 2025
89e9feb
Extract version comparision
fwal Apr 24, 2025
07dc236
Have commands check the return code
fwal Apr 24, 2025
c671190
Check if requested version is already installed
fwal Apr 24, 2025
8e63180
Log directories
fwal Apr 24, 2025
5afa18a
Check variables after init
fwal Apr 25, 2025
d6a4580
Try to get location
fwal Apr 25, 2025
7e1f6fd
Add logging
fwal Apr 25, 2025
903b06d
Get location after its set
fwal Apr 25, 2025
064f70c
Add toolchain to path
fwal Apr 25, 2025
327e949
Setup paths before init
fwal Apr 25, 2025
929e7c7
Make a proper tmp path for swiftly
fwal Apr 25, 2025
c503ed1
Avoid modifying profile as it have no effect
fwal Apr 25, 2025
2ab9ed5
Use proper dashes
fwal Apr 25, 2025
c0c7d91
Support post-install script
fwal Apr 27, 2025
20b8085
Correctly name script file
fwal Apr 27, 2025
4d352c6
Move linux setup file
fwal Apr 27, 2025
e55ca62
Try to add initial macOS setup
fwal Apr 27, 2025
014f2aa
Test macos too
fwal Apr 27, 2025
302ceac
Extract temp dir function
fwal Apr 27, 2025
cc93630
Test extracting with a fixed temp path
fwal Apr 27, 2025
75141c4
Set target explicitly
fwal Apr 27, 2025
2dd70f9
Try to resolve location of swiftly
fwal Apr 27, 2025
3396d2c
Initial stab at installing windows
fwal Apr 27, 2025
21bb733
Test windows
fwal Apr 27, 2025
ba6cb3f
Create installer without using swiftly
fwal Apr 27, 2025
f1babb0
Add windows arm test
fwal Apr 27, 2025
c211d8f
Specify installer path
fwal Apr 27, 2025
a4880fb
Try passing passive flag
fwal Apr 27, 2025
e036274
Try to find the path where Swift is normally at
fwal Apr 28, 2025
c0ff911
Try to install to set temp path
fwal Apr 28, 2025
cfdd2a9
List content of bin path
fwal Apr 28, 2025
ad02795
Use standard path and add it
fwal Apr 28, 2025
188bbe5
Dont dir the tmp directory
fwal Apr 28, 2025
cd34367
Dig deeper
fwal Apr 28, 2025
6fcdfe4
Join the dir path ofc
fwal Apr 28, 2025
1efc663
Dig even deeper
fwal Apr 28, 2025
d10500c
Install ide too
fwal Apr 28, 2025
8da4364
Add quiet and no restart flags
fwal Apr 29, 2025
5784929
Move to separate folder
fwal Apr 29, 2025
03c3e15
Try adding msbuild setup as a workflow step
fwal Apr 29, 2025
f96f680
Update indexes
fwal Apr 29, 2025
7d6348b
Rip out everything windows for now
fwal Apr 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try passing passive flag
  • Loading branch information
fwal committed Apr 27, 2025
commit a4880fb81a02f0c26ff6fcf6f91f96ad9e0bb895
2 changes: 1 addition & 1 deletion src/swift/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ async function download(version: string) {
join(tmpPath, "swift-installer.exe"),
);

await cmd(installerPath);
await cmd(installerPath, "/passive");
}
Loading