mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 02:12:13 +00:00
Enable sccache in ARM
This commit is contained in:
parent
0623fa0549
commit
3639ef6d24
@ -11,10 +11,11 @@ steps:
|
|||||||
echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]$sccache"
|
echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]$sccache"
|
||||||
displayName: Install sccache - Linux X64
|
displayName: Install sccache - Linux X64
|
||||||
condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'X64'))
|
condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'X64'))
|
||||||
# - bash: |
|
- bash: |
|
||||||
# echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]sccache"
|
command -v sccache > /dev/null || cargo install sccache
|
||||||
# displayName: Install sccache - Linux ARM
|
echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]sccache"
|
||||||
# condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'ARM64'))
|
displayName: Install sccache - Linux ARM
|
||||||
|
condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'ARM64'))
|
||||||
- bash: |
|
- bash: |
|
||||||
set -ex
|
set -ex
|
||||||
brew install openssl@1.1
|
brew install openssl@1.1
|
||||||
@ -36,7 +37,7 @@ steps:
|
|||||||
$RUSTC_WRAPPER -s
|
$RUSTC_WRAPPER -s
|
||||||
cat sccache.log
|
cat sccache.log
|
||||||
displayName: "start sccache"
|
displayName: "start sccache"
|
||||||
condition: not(or(eq( variables['Agent.OS'], 'Windows_NT' ), eq(variables['Agent.OSArchitecture'], 'ARM64')))
|
condition: not(eq( variables['Agent.OS'], 'Windows_NT' ))
|
||||||
env:
|
env:
|
||||||
SCCACHE_AZURE_CONNECTION_STRING: $(SCCACHE_AZURE_CONNECTION_STRING)
|
SCCACHE_AZURE_CONNECTION_STRING: $(SCCACHE_AZURE_CONNECTION_STRING)
|
||||||
SCCACHE_AZURE_BLOB_CONTAINER: $(SCCACHE_AZURE_BLOB_CONTAINER)
|
SCCACHE_AZURE_BLOB_CONTAINER: $(SCCACHE_AZURE_BLOB_CONTAINER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user