Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into anoncreds-w3c-format-…
Browse files Browse the repository at this point in the history
…changes

# Conflicts:
#	.github/workflows/build.yml
  • Loading branch information
Artemkaaas committed Jan 11, 2024
2 parents 2696d43 + a180cce commit 4ae0d15
Show file tree
Hide file tree
Showing 2 changed files with 1,088 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Anoncreds"

env:
RUST_VERSION: "1.65.0"
RUST_VERSION: "stable 6 months ago"
CROSS_VERSION: "0.2.4"

on:
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
if: ${{ runner.os == 'Linux' }}
run: |
if [ -n "${{ matrix.use_cross }}" ]; then
cargo install --locked --git https://github.com/cross-rs/cross --tag v${{ env.CROSS_VERSION }} cross
cargo install --locked --git https://github.com/cross-rs/cross --tag v${{ env.CROSS_VERSION }} cross
cross build --release --package anoncreds --target ${{matrix.target}} --features vendored
else
cargo build --release --package anoncreds --target ${{matrix.target}} --features vendored
Expand Down Expand Up @@ -253,7 +253,6 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}


build-py:
name: Build Python
needs: [build-release]
Expand Down Expand Up @@ -342,6 +341,9 @@ jobs:
i686-linux-android,
x86_64-linux-android,
]
# NB: RUST_VERSION must be <1.68 here to support NDK 17
env:
RUST_VERSION: "1.67"

steps:
- name: Checkout
Expand All @@ -359,6 +361,7 @@ jobs:
- name: Build
run: |
cargo install --locked --git https://github.com/cross-rs/cross --tag v${{ env.CROSS_VERSION }} cross
cp Cargo.lock.android Cargo.lock
cross build --release --target ${{ matrix.target }} --features=vendored
- name: Upload artifacts
Expand Down Expand Up @@ -418,7 +421,7 @@ jobs:
targets: ${{matrix.architecture}}

- name: Build
run: cargo build --release --target ${{matrix.architecture}} --features=vendored
run: cargo build --release --target ${{matrix.architecture}} --features=vendored

- name: Save artifacts
uses: actions/upload-artifact@v3
Expand Down
Loading

0 comments on commit 4ae0d15

Please sign in to comment.