Skip to content

Conversation

@externl
Copy link
Member

@externl externl commented Feb 21, 2025

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.

@externl externl requested a review from pepone February 21, 2025 17:04
@externl externl marked this pull request as ready for review February 21, 2025 17:04
Copy link
Member

@pepone pepone left a 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
Copy link
Member

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?

Copy link
Member Author

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")]
Copy link
Member

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?

Copy link
Member Author

@externl externl Feb 27, 2025

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.

@externl externl merged commit ca1fcc2 into zeroc-ice:main Feb 27, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants