mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-16 12:46:48 +00:00
ci: more comments added to .github/workflows/ci.yml
This commit is contained in:
parent
2b3195518d
commit
c64259b0d5
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -1,3 +1,6 @@
|
|||||||
|
# Adapted from:
|
||||||
|
# https://github.com/status-im/nimbus-eth2/blob/stable/.github/workflows/ci.yml
|
||||||
|
|
||||||
name: CI
|
name: CI
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -131,6 +134,8 @@ jobs:
|
|||||||
EOF
|
EOF
|
||||||
chmod 755 external/bin/gcc external/bin/g++
|
chmod 755 external/bin/gcc external/bin/g++
|
||||||
echo "$(pwd)/external/bin" >> ${GITHUB_PATH}
|
echo "$(pwd)/external/bin" >> ${GITHUB_PATH}
|
||||||
|
# --passC:'-m32 -mno-adx' is redundant but harmless, and can be
|
||||||
|
# helpful when reviewing build output with increased verbosity
|
||||||
NIMFLAGS="${NIMFLAGS} $(quote "--passC:'-m32 -mno-adx' -d:LeopardCmakeFlags='-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$(pwd)/external/bin/gcc -DCMAKE_CXX_COMPILER=$(pwd)/external/bin/g++'")"
|
NIMFLAGS="${NIMFLAGS} $(quote "--passC:'-m32 -mno-adx' -d:LeopardCmakeFlags='-DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=$(pwd)/external/bin/gcc -DCMAKE_CXX_COMPILER=$(pwd)/external/bin/g++'")"
|
||||||
echo "NIMFLAGS=${NIMFLAGS}" >> $GITHUB_ENV
|
echo "NIMFLAGS=${NIMFLAGS}" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
@ -148,6 +153,7 @@ jobs:
|
|||||||
# Enable OpenMP on macOS
|
# Enable OpenMP on macOS
|
||||||
if [[ '${{ runner.os }}' == 'macOS' ]]; then
|
if [[ '${{ runner.os }}' == 'macOS' ]]; then
|
||||||
libomp_lib_dir="$(brew --prefix)/opt/libomp/lib"
|
libomp_lib_dir="$(brew --prefix)/opt/libomp/lib"
|
||||||
|
# See https://github.com/actions/virtual-environments/pull/5819
|
||||||
llvm_dir="$(ls -d $(brew --prefix)/opt/llvm* | tail -1)"
|
llvm_dir="$(ls -d $(brew --prefix)/opt/llvm* | tail -1)"
|
||||||
llvm_bin_dir="${llvm_dir}/bin"
|
llvm_bin_dir="${llvm_dir}/bin"
|
||||||
llvm_lib_dir="${llvm_dir}/lib"
|
llvm_lib_dir="${llvm_dir}/lib"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user