mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-14 21:07:26 +00:00
align yaml
This commit is contained in:
parent
5d62adf792
commit
e66e838271
36
.github/workflows/ci.yml
vendored
36
.github/workflows/ci.yml
vendored
@ -142,23 +142,23 @@ jobs:
|
|||||||
echo "ncpu=$ncpu" >> $GITHUB_ENV
|
echo "ncpu=$ncpu" >> $GITHUB_ENV
|
||||||
echo "MAKE_CMD=${MAKE_CMD}" >> $GITHUB_ENV
|
echo "MAKE_CMD=${MAKE_CMD}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Restore Nim toolchain binaries from cache
|
- name: Restore Nim toolchain binaries from cache
|
||||||
id: nim-cache
|
id: nim-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: NimBinaries
|
path: NimBinaries
|
||||||
key: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }}
|
key: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}-${{ github.run_id }}
|
||||||
restore-keys: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}
|
restore-keys: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ matrix.branch }}-cache-${{ env.cache_nonce }}
|
||||||
|
|
||||||
- name: Set NIM_COMMIT
|
- name: Set NIM_COMMIT
|
||||||
shell: ${{ inputs.shell }} {0}
|
shell: ${{ inputs.shell }} {0}
|
||||||
run: echo "NIM_COMMIT=${{ matrix.branch }}" >> ${GITHUB_ENV}
|
run: echo "NIM_COMMIT=${{ matrix.branch }}" >> ${GITHUB_ENV}
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
|
||||||
# https://github.com/status-im/nimbus-eth2/issues/3121
|
# https://github.com/status-im/nimbus-eth2/issues/3121
|
||||||
export NIMFLAGS="-d:nimRawSetjmp"
|
export NIMFLAGS="-d:nimRawSetjmp"
|
||||||
fi
|
fi
|
||||||
make -j${ncpu} CI_CACHE=NimBinaries ARCH_OVERRIDE=${PLATFORM} QUICK_AND_DIRTY_COMPILER=1 update
|
make -j${ncpu} CI_CACHE=NimBinaries ARCH_OVERRIDE=${PLATFORM} QUICK_AND_DIRTY_COMPILER=1 update
|
||||||
make test -j${ncpu}
|
make test -j${ncpu}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user