Skip to content

Commit

Permalink
Add nightly build using latest gcc and c++23
Browse files Browse the repository at this point in the history
  • Loading branch information
Rombur committed Jul 20, 2023
1 parent 1eb7c2d commit f448ac8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .jenkins_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,38 @@ pipeline {
'''
}
}
stage('GCC-13') {
agent {
dockerfile {
image 'gcc:13.1'
label 'docker'
}
}
steps {
sh '''
DEBIAN_FRONTEND=noninteractive && \
apt-get update && apt-get upgrade -y && apt-get install -y \
cmake \
&& \
apt-get clean && rm -rf /var/lib/apt/lists/*

mkdir -p build && cd build && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=23 \
-DCMAKE_CXX_FLAGS=-Werror \
-DKokkos_ARCH_NATIVE=ON \
-DKokkos_ENABLE_COMPILER_WARNINGS=ON \
-DKokkos_ENABLE_BENCHMARKS=ON \
-DKokkos_ENABLE_EXAMPLES=ON \
-DKokkos_ENABLE_TESTS=ON \
-DKokkos_ENABLE_DEPRECATION_WARNINGS=OFF \
-DKokkos_ENABLE_SERIAL=ON \
.. && \
make -j8 && ctest --verbose
'''
}
}
}
}
}
Expand Down

0 comments on commit f448ac8

Please sign in to comment.