mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-04 18:10:18 +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"
|
||||
displayName: Install sccache - Linux X64
|
||||
condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'X64'))
|
||||
# - bash: |
|
||||
# echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]sccache"
|
||||
# displayName: Install sccache - Linux ARM
|
||||
# condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'ARM64'))
|
||||
- bash: |
|
||||
command -v sccache > /dev/null || cargo install sccache
|
||||
echo "##vso[task.setvariable variable=RUSTC_WRAPPER;]sccache"
|
||||
displayName: Install sccache - Linux ARM
|
||||
condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OSArchitecture'], 'ARM64'))
|
||||
- bash: |
|
||||
set -ex
|
||||
brew install openssl@1.1
|
||||
@ -36,7 +37,7 @@ steps:
|
||||
$RUSTC_WRAPPER -s
|
||||
cat sccache.log
|
||||
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:
|
||||
SCCACHE_AZURE_CONNECTION_STRING: $(SCCACHE_AZURE_CONNECTION_STRING)
|
||||
SCCACHE_AZURE_BLOB_CONTAINER: $(SCCACHE_AZURE_BLOB_CONTAINER)
|
||||
|
Loading…
Reference in New Issue
Block a user