Skip to content

Commit 27b8775

Browse files
authored
Change CI settings (#630)
* Update Jenkinsfile and gh workflow --------- Co-authored-by: Naoki Shibata <shibatch.sf.net@gmail.com>
1 parent b8abbd5 commit 27b8775

File tree

3 files changed

+34
-15
lines changed

3 files changed

+34
-15
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1-
SLEEF project plans to adopt the following CoC in the near future. In preparation for this, we ask everyone to read and understand the CoC. Also, if you have any comments or objections, please post your thoughts at the following page.
1+
SLEEF project plans to adopt the following CoC in the near future. In
2+
preparation for this, we ask everyone to read and understand the
3+
CoC. Also, if you have any comments or objections, please post your
4+
thoughts at the following page.
25

36
https://github.com/shibatch/nofreelunch?tab=coc-ov-file
47

5-
You do not need to agree to this CoC at this time. Simply remove this notice when you open a PR.
8+
Currently we do not have a sponsor for this project. That means that
9+
the effort to review your PR is currently being covered entirely by
10+
our good will. You may be happy if your PR is approved for now, but
11+
please remember that we will need to maintain your code on a permanent
12+
basis. Please consider sponsoring this project.
13+
14+
You do not need to agree to this CoC at this time. Simply remove this
15+
notice when you open a PR.

.github/workflows/build_and_test.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,11 @@ jobs:
3232
build-native:
3333
# Native Build and Test run on a range of runners
3434
# - Github hosted, only Linux x86.
35-
# - Arm-hosted (via AWS), only Linux c6g or c7g.
36-
# Please refer to the documentation at
37-
# https://gitlab.arm.com/tooling/gha-runner-docs
38-
# Here we use c7g (2xlarge) for easy access to
39-
# SVE-enabled runners (with 8 vCPUs).
4035
runs-on: ${{ matrix.os }}
4136
strategy:
4237
fail-fast: false
4338
matrix:
44-
os: [ubuntu-24.04, ah-ubuntu_22_04-c7g_2x-50]
39+
os: [ubuntu-24.04]
4540
compiler: [gcc, llvm]
4641

4742
name: build-native-${{ matrix.os }}-${{ matrix.compiler }}
@@ -87,12 +82,6 @@ jobs:
8782
run: |
8883
export EXTRA_CMAKE_FLAGS=""
8984
90-
- name: Set AArch64 SVE config
91-
shell: bash -ex -o pipefail {0}
92-
if: contains(matrix.os, 'c7g')
93-
run: |
94-
export EXTRA_CMAKE_FLAGS="-DSLEEF_ENFORCE_SVE=ON"
95-
9685
- name: Build native
9786
shell: bash -ex -o pipefail {0}
9887
run: |
@@ -119,7 +108,7 @@ jobs:
119108
strategy:
120109
fail-fast: false
121110
matrix:
122-
os: [ubuntu-24.04, ah-ubuntu_22_04-c7g_2x-50]
111+
os: [ubuntu-24.04]
123112
compiler: [gcc, llvm]
124113

125114
name: test-native-${{ matrix.os }}-${{ matrix.compiler }}

Jenkinsfile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,26 @@ pipeline {
8787
}
8888
}
8989

90+
stage('aarch64 linux gcc-14') {
91+
agent { label 'aarch64 && ubuntu24 && apple' }
92+
options { skipDefaultCheckout() }
93+
steps {
94+
cleanWs()
95+
checkout scm
96+
sh '''
97+
echo "aarch64 gcc-14 on" `hostname`
98+
export CC=gcc-14
99+
export CXX=g++-14
100+
mkdir build
101+
cd build
102+
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=../../install -DSLEEF_SHOW_CONFIG=1 -DSLEEF_BUILD_DFT=TRUE -DSLEEF_BUILD_QUAD=TRUE -DSLEEF_BUILD_INLINE_HEADERS=TRUE -DSLEEF_ENFORCE_SVE=TRUE -DEMULATOR=qemu-aarch64-static -DSLEEF_ENABLE_TESTER4=True -DSLEEF_ENABLE_TESTER=False
103+
cmake -E time ninja
104+
export CTEST_OUTPUT_ON_FAILURE=TRUE
105+
ctest -j `nproc`
106+
'''
107+
}
108+
}
109+
90110
stage('cross-ppc64el gcc') {
91111
agent { label 'x86_64 && ubuntu24 && cuda' }
92112
steps {

0 commit comments

Comments
 (0)