Make Circe CI script more consistent with Cirrus CI
Use the same environment variables in the same way. No real changes.
This commit is contained in:
parent
bf3951866c
commit
84120664ca
1 changed files with 10 additions and 4 deletions
|
|
@ -15,6 +15,15 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
command: |
|
command: |
|
||||||
|
echo LD_LIBRARY_PATH=`pwd`/lib >> $BASH_ENV
|
||||||
|
|
||||||
|
# Do _not_ use the CPU count returned by build/tools/proc_count.sh
|
||||||
|
# for building, it is too high (36 logical CPUs) and results in
|
||||||
|
# running out of memory, so limit ourselves to just 2 CPUs we're
|
||||||
|
# supposed to be using in Docker Medium resource class.
|
||||||
|
wxPROC_COUNT=2
|
||||||
|
echo wxBUILD_ARGS=-j$wxPROC_COUNT >> $BASH_ENV
|
||||||
|
|
||||||
WX_EXTRA_PACKAGES=ccache ./build/tools/before_install.sh
|
WX_EXTRA_PACKAGES=ccache ./build/tools/before_install.sh
|
||||||
|
|
||||||
echo "PATH=/usr/lib64/ccache:$PATH" >> $BASH_ENV
|
echo "PATH=/usr/lib64/ccache:$PATH" >> $BASH_ENV
|
||||||
|
|
@ -34,13 +43,10 @@ jobs:
|
||||||
name: Configure
|
name: Configure
|
||||||
command: ./configure --disable-debug-info
|
command: ./configure --disable-debug-info
|
||||||
|
|
||||||
# Do _not_ use total CPU count for building, it is too high (36 logical
|
|
||||||
# CPUs) and results in running out of memory, so limit ourselves to just
|
|
||||||
# 2 CPUs we're supposed to be using in Docker Medium resource class.
|
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
command: |
|
command: |
|
||||||
make -k -j2 CXXFLAGS='-Werror -Wno-error=cpp'
|
make -k $wxBUILD_ARGS CXXFLAGS='-Werror -Wno-error=cpp'
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Show ccache statistics
|
name: Show ccache statistics
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue