generated from AArnott/Library.Template
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #206 from nerdcash/addAndroidArm64
Add more native targets
- Loading branch information
Showing
12 changed files
with
80 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
if ($IsLinux) { | ||
# ,'aarch64-unknown-linux-gnu' | ||
,'x86_64-unknown-linux-gnu' | ||
} | ||
elseif ($IsMacOS) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
if (!(Test-Path "$PSScriptRoot/../../obj/src/nerdbank-zcash-rust/")) { return } | ||
$root = "$PSScriptRoot\..\..\src\nerdbank-zcash-rust\target" | ||
if (!(Test-Path $root)) { return } | ||
|
||
$root = "$PSScriptRoot/../../obj/src/nerdbank-zcash-rust/" | ||
$files = @() | ||
Get-ChildItem $root\*-*-* -Directory |% { | ||
$files += Get-ChildItem "$($_.FullName)\*\*nerdbank_zcash_rust*" | ||
} | ||
|
||
@{ | ||
$root = Get-ChildItem $root -Recurse | ||
$root = $files | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
steps: | ||
- pwsh: cargo install cross --git https://github.com/cross-rs/cross --rev c87a52a60dbcde069714a8d2ed51570e7fc23cf9 | ||
displayName: 🛠️ install cross | ||
|
||
- pwsh: cross build -r --target=aarch64-linux-android | ||
displayName: 🛠️ build android-arm64 | ||
workingDirectory: src/nerdbank-zcash-rust | ||
|
||
- pwsh: cross build -r --target=x86_64-linux-android | ||
displayName: 🛠️ build android-x64 | ||
workingDirectory: src/nerdbank-zcash-rust | ||
|
||
- pwsh: cross build -r --target=aarch64-unknown-linux-gnu | ||
displayName: 🛠️ build linux-arm64 | ||
workingDirectory: src/nerdbank-zcash-rust | ||
|
||
- powershell: azure-pipelines/artifacts/_pipelines.ps1 -ArtifactNameSuffix "-$(Agent.JobName)" -Verbose | ||
failOnStderr: true | ||
displayName: 📢 Publish artifacts | ||
condition: succeededOrFailed() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build.env] | ||
volumes = ["__LIB12_DEP=../../external"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters