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

upgrade rust toolchain to nightly-2024-01-10 #53

Merged
merged 1 commit into from
Feb 27, 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
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
asset_name: libffi_java_sdk.dylib
file: target/release/libffi_java_sdk.dylib
file: target/release/libffi_java_sdk.dylib
tag: ${{ github.ref }}
overwrite: true
overwrite: true

build_with_centos:
name: build_with_centos
Expand All @@ -105,7 +105,7 @@ jobs:
- name: install rust language
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-07-28
toolchain: nightly-2024-01-10
override: true
- name: install CentOS dependencies
run: |
Expand All @@ -129,15 +129,15 @@ jobs:
asset_name: libffi_c_zkp.so
file: target/release/libffi_c_zkp.so
tag: ${{ github.ref }}
overwrite: true
overwrite: true
- name: Upload wedpr-lab-crypto binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
asset_name: libffi_java_crypto_binary.so
file: target/release/libffi_java_crypto_binary.so
tag: ${{ github.ref }}
overwrite: true
overwrite: true
- name: Upload wedpr-lab-crypto binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
Expand Down Expand Up @@ -265,4 +265,4 @@ jobs:
asset_name: ffi_java_sdk.dll
file: D:\a\WeDPR-Lab-Crypto\WeDPR-Lab-Crypto\target\release\ffi_java_sdk.dll
tag: ${{ github.ref }}
overwrite: true
overwrite: true
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: libffi_java_sdk.dylib
path: target/release/libffi_java_sdk.dylib
path: target/release/libffi_java_sdk.dylib

build_with_centos:
name: build_with_centos
Expand All @@ -87,12 +87,12 @@ jobs:
- name: install rust language
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-07-28
toolchain: nightly-2024-01-10
override: true
- name: install CentOS dependencies
run: |
yum install -y epel-release centos-release-scl
yum install -y java-11-openjdk-devel git make gcc gcc-c++ glibc-static glibc-devel openssl openssl-devel cmake3 ccache devtoolset-7 libzstd-devel zlib-devel flex bison python-devel python3-devel && source /opt/rh/devtoolset-7/enable
yum install -y java-11-openjdk-devel git make gcc gcc-c++ glibc-static glibc-devel openssl openssl-devel cmake3 ccache devtoolset-7 libzstd-devel zlib-devel flex bison python-devel python3-devel perl-IPC-Cmd && source /opt/rh/devtoolset-7/enable
- name: configure and compile
run: |
cargo build --all --all-targets --verbose --release
Expand Down Expand Up @@ -187,4 +187,4 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: ffi_java_sdk.dll
path: D:\a\WeDPR-Lab-Crypto\WeDPR-Lab-Crypto\target\release\ffi_java_sdk.dll
path: D:\a\WeDPR-Lab-Crypto\WeDPR-Lab-Crypto\target\release\ffi_java_sdk.dll
Loading
Loading