Skip to content

Commit 4196f74

Browse files
authored
Add jenkinsfile (#619)
* Add Jenkinsfile * Remove Jenkinsfile to rename it * Add JenkinsFile again * Remove Jenkinsfile again * Add Jenkinsfile again * Add Jenkins badge icon to README * Change URL for the badge icon --------- Co-authored-by: Naoki Shibata <shibatch.sf.net@gmail.com>
1 parent e7099cc commit 4196f74

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

Jenkinsfile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
pipeline {
2+
agent { label 'jenkinsfile' }
3+
4+
stages {
5+
stage('Preamble') {
6+
parallel {
7+
stage('x86_64 linux gcc-13') {
8+
agent { label 'x86_64 && ubuntu24' }
9+
options { skipDefaultCheckout() }
10+
steps {
11+
cleanWs()
12+
checkout scm
13+
sh '''
14+
echo "x86_64 gcc-13 on" `hostname`
15+
export CC=gcc-13
16+
export CXX=g++-13
17+
mkdir build
18+
cd build
19+
cmake -GNinja -DCMAKE_INSTALL_PREFIX=../../install -DSLEEF_SHOW_CONFIG=1 -DBUILD_QUAD=TRUE -DBUILD_INLINE_HEADERS=TRUE -DENFORCE_SSE2=TRUE -DENFORCE_SSE4=TRUE -DENFORCE_AVX=TRUE -DENFORCE_AVX2=TRUE -DENFORCE_AVX512F=TRUE ..
20+
cmake -E time ninja
21+
export OMP_WAIT_POLICY=passive
22+
export CTEST_OUTPUT_ON_FAILURE=TRUE
23+
ctest -j `nproc`
24+
ninja install
25+
'''
26+
}
27+
}
28+
}
29+
}
30+
}
31+
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
[![Spack](https://img.shields.io/spack/v/sleef)](https://spack.readthedocs.io/en/v0.16.2/package_list.html#sleef)
77
[![SourceForge Downloads](https://img.shields.io/sourceforge/dt/sleef)](https://sourceforge.net/projects/sleef/)
88

9+
[![Build Status](https://shibatch.dns-cloud.net/jenkins8086/buildStatus/icon?job=sleef)](https://shibatch.dns-cloud.net/jenkins8086/job/sleef/)
10+
911
SLEEF is a library that implements vectorized versions of C standard math functions. This library also includes DFT subroutines.
1012

1113
- **Web Page:** [https://sleef.org/][webpage_url]

0 commit comments

Comments
 (0)