mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-12 21:34:33 +00:00
Fix Nim binaries cache key of main CI
Why: Multiple CI share the same cache key will fail to save the cached files. Also: Fix simulators CI path to cached llvm-mingw on windows.
This commit is contained in:
parent
73622459b1
commit
dbb17ab68c
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -221,7 +221,7 @@ jobs:
|
|||||||
runner.os == 'Windows'
|
runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
echo '${{ github.workspace }}'"/external/mingw-${{ matrix.target.cpu }}/bin" >> $GITHUB_PATH
|
echo '${{ github.workspace }}'"/external/mingw-${{ matrix.target.cpu }}/bin" >> $GITHUB_PATH
|
||||||
echo '${{ github.workspace }}'"/external/dlls-${{ matrix.target.cpu }}" >> $GITHUB_PATH
|
echo '${{ github.workspace }}'"/external/dlls-${{ matrix.target.cpu }}" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Get latest nimbus-build-system commit hash
|
- name: Get latest nimbus-build-system commit hash
|
||||||
id: versions
|
id: versions
|
||||||
@ -237,7 +237,7 @@ jobs:
|
|||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: NimBinCache
|
path: NimBinCache
|
||||||
key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}'
|
key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-${{ matrix.target.evmc }}'
|
||||||
|
|
||||||
- name: Build Nim and Nimbus-eth1 dependencies
|
- name: Build Nim and Nimbus-eth1 dependencies
|
||||||
run: |
|
run: |
|
||||||
|
5
.github/workflows/simulators.yml
vendored
5
.github/workflows/simulators.yml
vendored
@ -119,6 +119,11 @@ jobs:
|
|||||||
curl -L "$MINGW_URL" -o "external/mingw-amd64.zip"
|
curl -L "$MINGW_URL" -o "external/mingw-amd64.zip"
|
||||||
7z x -y "external/mingw-amd64.zip" -oexternal/mingw-amd64/
|
7z x -y "external/mingw-amd64.zip" -oexternal/mingw-amd64/
|
||||||
mv external/mingw-amd64/**/* ./external/mingw-amd64
|
mv external/mingw-amd64/**/* ./external/mingw-amd64
|
||||||
|
|
||||||
|
- name: Path to cached dependencies (Windows)
|
||||||
|
if: >
|
||||||
|
runner.os == 'Windows'
|
||||||
|
run: |
|
||||||
echo '${{ github.workspace }}'"/external/mingw-amd64/bin" >> $GITHUB_PATH
|
echo '${{ github.workspace }}'"/external/mingw-amd64/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Get latest nimbus-build-system commit hash
|
- name: Get latest nimbus-build-system commit hash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user