Skip to content
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

Am/chore/ci tfhe versionable #1473

Merged
merged 3 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions .github/workflows/make_release_concrete_csprng.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Publish new release of tfhe-rs on various platform.
name: Publish concrete-csprng release

on:
Expand Down Expand Up @@ -37,6 +36,6 @@ jobs:
SLACK_COLOR: ${{ job.status }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
SLACK_ICON: https://pbs.twimg.com/profile_images/1274014582265298945/OjBKP9kn_400x400.png
SLACK_MESSAGE: "concrete-csprng release failed: (${{ env.ACTION_RUN_URL }})"
SLACK_MESSAGE: "concrete-csprng release finished with status: ${{ job.status }}. (${{ env.ACTION_RUN_URL }})"
SLACK_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
36 changes: 36 additions & 0 deletions .github/workflows/make_release_concrete_tfhe_versionable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish tfhe-versionable release

on:
workflow_dispatch:

env:
ACTION_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

jobs:
publish_release:
name: Publish tfhe-versionable Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 0

- name: Publish crate.io package
env:
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish -p tfhe-versionable-derive --token ${{ env.CRATES_TOKEN }}
cargo publish -p tfhe-versionable --token ${{ env.CRATES_TOKEN }}

- name: Slack Notification
if: ${{ failure() }}
continue-on-error: true
uses: rtCamp/action-slack-notify@4e5fb42d249be6a45a298f3c9543b111b02f7907
env:
SLACK_COLOR: ${{ job.status }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
SLACK_ICON: https://pbs.twimg.com/profile_images/1274014582265298945/OjBKP9kn_400x400.png
SLACK_MESSAGE: "tfhe-versionable release finished with status: ${{ job.status }}. (${{ env.ACTION_RUN_URL }})"
SLACK_USERNAME: ${{ secrets.BOT_USERNAME }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
2 changes: 1 addition & 1 deletion tfhe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sha3 = { version = "0.10", optional = true }
itertools = "0.11.0"
rand_core = { version = "0.6.4", features = ["std"] }
tfhe-zk-pok = { version = "0.3.0-alpha.0", path = "../tfhe-zk-pok", optional = true }
tfhe-versionable = { version = "0.2.0", path = "../utils/tfhe-versionable" }
tfhe-versionable = { version = "0.2.1", path = "../utils/tfhe-versionable" }

# wasm deps
wasm-bindgen = { version = "0.2.86", features = [
Expand Down
2 changes: 1 addition & 1 deletion utils/tfhe-versionable-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tfhe-versionable-derive"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
keywords = ["versioning", "serialization", "encoding", "proc-macro", "derive"]
homepage = "https://zama.ai/"
Expand Down
4 changes: 2 additions & 2 deletions utils/tfhe-versionable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tfhe-versionable"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
keywords = ["versioning", "serialization", "encoding"]
homepage = "https://zama.ai/"
Expand All @@ -26,6 +26,6 @@ toml = "0.8"

[dependencies]
serde = { version = "1.0", features = ["derive"] }
tfhe-versionable-derive = { version = "0.2.0", path = "../tfhe-versionable-derive" }
tfhe-versionable-derive = { version = "0.2.1", path = "../tfhe-versionable-derive" }
num-complex = { version = "0.4", features = ["serde"] }
aligned-vec = { version = "0.5", features = ["serde"] }
Loading