Reoreder TravisCI jobs to optimize CI time
Sorting jobs by descending expected runtime helps to utilize concurrency better.
This commit is contained in:
parent
8a49b62e78
commit
25517b852e
144
.travis.yml
144
.travis.yml
@ -10,6 +10,78 @@ dist: focal
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ EXTRA_CFLAGS="-fcommon"
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-fcommon"
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=cl.exe CXX=cl.exe
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes EXTRA_CFLAGS="-fcommon"
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=cl.exe CXX=cl.exe CONFIGURE_FLAGS="--enable-debug"
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-fcommon"
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=cl.exe CXX=cl.exe CROSS_COMPILE_32BIT=yes
|
||||||
|
- os: windows
|
||||||
|
arch: amd64
|
||||||
|
env: CC=cl.exe CXX=cl.exe CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug --with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
|
- os: freebsd
|
||||||
|
arch: amd64
|
||||||
|
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
||||||
- os: linux
|
- os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: CC=gcc CXX=g++ EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
env: CC=gcc CXX=g++ EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
||||||
@ -304,78 +376,6 @@ jobs:
|
|||||||
- os: osx
|
- os: osx
|
||||||
arch: amd64
|
arch: amd64
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-deprecated-declarations"
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--with-malloc-conf=tcache:false" EXTRA_CFLAGS="-Werror -Wno-array-bounds -Wno-unknown-warning-option -Wno-ignored-attributes -Wno-deprecated-declarations"
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ EXTRA_CFLAGS="-fcommon"
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-fcommon"
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=cl.exe CXX=cl.exe
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes EXTRA_CFLAGS="-fcommon"
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=cl.exe CXX=cl.exe CONFIGURE_FLAGS="--enable-debug"
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug" EXTRA_CFLAGS="-fcommon"
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=cl.exe CXX=cl.exe CROSS_COMPILE_32BIT=yes
|
|
||||||
- os: windows
|
|
||||||
arch: amd64
|
|
||||||
env: CC=cl.exe CXX=cl.exe CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug --with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
- os: freebsd
|
|
||||||
arch: amd64
|
|
||||||
env: CC=gcc CXX=g++ CROSS_COMPILE_32BIT=yes CONFIGURE_FLAGS="--enable-debug --enable-prof --enable-prof-libunwind --with-lg-page=16 --with-malloc-conf=tcache:false"
|
|
||||||
# Development build
|
# Development build
|
||||||
- os: linux
|
- os: linux
|
||||||
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --disable-cache-oblivious --enable-stats --enable-log --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
env: CC=gcc CXX=g++ CONFIGURE_FLAGS="--enable-debug --disable-cache-oblivious --enable-stats --enable-log --enable-prof" EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
||||||
|
@ -308,16 +308,16 @@ EXTRA_CFLAGS="-Werror -Wno-array-bounds"
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
jobs = '\n'.join((
|
jobs = '\n'.join((
|
||||||
|
generate_windows(AMD64),
|
||||||
|
|
||||||
|
generate_freebsd(AMD64),
|
||||||
|
|
||||||
generate_linux(AMD64),
|
generate_linux(AMD64),
|
||||||
generate_linux(PPC64LE),
|
generate_linux(PPC64LE),
|
||||||
|
|
||||||
generate_macos(AMD64),
|
generate_macos(AMD64),
|
||||||
|
|
||||||
generate_windows(AMD64),
|
get_manual_jobs(),
|
||||||
|
|
||||||
generate_freebsd(AMD64),
|
|
||||||
|
|
||||||
get_manual_jobs()
|
|
||||||
))
|
))
|
||||||
|
|
||||||
print(TRAVIS_TEMPLATE.format(jobs=jobs))
|
print(TRAVIS_TEMPLATE.format(jobs=jobs))
|
||||||
|
Loading…
Reference in New Issue
Block a user