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

Feat/build profiles #381

Closed
wants to merge 5 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/workflows/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
key: ${{ needs.setup.outputs.cache-key }}

- run: |
RUST_LOG=DEBUG cargo +nightly-2024-10-28 run --release -p notary -- --config ./fixture/notary-config.toml --manifest ./fixture/notary.origo_tcp_local.json &
RUST_LOG=DEBUG cargo +nightly-2024-10-28 run -p notary -- --config ./fixture/notary-config.toml --manifest ./fixture/notary.origo_tcp_local.json &
sleep 30
NOTARY_CA_CERT_PATH=../../fixture/certs/ca-cert.cer cargo +nightly-2024-10-28 run --release -p client -- --config ./fixture/client.tlsn_tcp_local.json
NOTARY_CA_CERT_PATH=../../fixture/certs/ca-cert.cer cargo +nightly-2024-10-28 run --release -p client -- --config ./fixture/client.origo_tcp_local.json
4 changes: 2 additions & 2 deletions .github/workflows/notary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
path: proofs/web_proof_circuits
key: ${{ needs.setup.outputs.cache-key }}

- run: cargo +nightly-2024-10-28 build -p notary --release
- run: cargo +nightly-2024-10-28 build -p notary

- uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: "notary.linux.amd64"
path: "target/release/notary"
path: "target/debug/notary"
retention-days: 7

deploy:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ios: artifacts
-cargo install cbindgen
rustup target add aarch64-apple-ios-sim --toolchain nightly-2024-10-28
# rustup target add aarch64-apple-ios-sim
NOTARY_CA_CERT_PATH="../../fixture/certs/ca-cert.cer" RUSTFLAGS="-C panic=unwind" cargo +nightly-2024-10-28 build -p client_ios --release --target aarch64-apple-ios # builds target/aarch64-apple-ios/release/libclient_ios.a
NOTARY_CA_CERT_PATH="../../fixture/certs/ca-cert.cer" RUSTFLAGS="-C panic=unwind" cargo +nightly-2024-10-28 build -p client_ios --release --target aarch64-apple-ios # builds target/aarch64-apple-ios/release/libclient_ios.a
~/.cargo/bin/cbindgen --lang c --crate client_ios --output client_ios/headers/libclient_ios.h
-rm -r target/aarch64-apple-ios/release/libclient_ios.xcframework
xcodebuild -create-xcframework \
Expand Down
1 change: 1 addition & 0 deletions client/src/origo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub async fn sign(
.build()?;

let response = client.post(url).json(&sb).send().await?;
debug!("response: {:?}", response.status());
assert!(response.status() == hyper::StatusCode::OK);

// TODO: Actually use this input in the proofs.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
channel="nightly"

# option to specify a date to pin to a particular release
# date = "2024-03-19"
date = "2024-10-28"

# profiles are groups of components to download when installing a toolchain.
# https://rust-lang.github.io/rustup/concepts/profiles.html
Expand Down
Loading