-
Notifications
You must be signed in to change notification settings - Fork 216
Use Linux and macOS nightly repos #311
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
| echo "deb [signed-by=/etc/apt/keyrings/zeroc-nightly.gpg] https://download.zeroc.com/nexus/repository/ubuntu24.04-nightly nightly main" | sudo tee /etc/apt/sources.list.d/zeroc-nightly.list | ||
| sudo apt-get update | ||
| sudo apt-get install zeroc-ice-all-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need to pass -y for non interactive mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they set some env variables so you don't need do but I think it's better to add it.
| dependencies: [.product(name: "Ice", package: "ice-swift")], | ||
| exclude: ["slice-plugin.json"], | ||
| plugins: [.plugin(name: "CompileSlice", package: "ice")] | ||
| plugins: [.plugin(name: "CompileSlice", package: "ice-swift")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we use 'ice' for the package name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swift says that .package(name:url:branch) is deprecated and just .package(url:branch) should be used. it picks the package name from the repo name. This will change to ice once we move to the ice repo for release.
This PR updates the Linux and macOS builds to use our nightly brew and apt packaging.
For now I've disable the Java build as we want to fix this demos anyway and they still rely on the nightly.