Skip to content

Commit e0bf238

Browse files
committed
fix yaml format and add main branch into push
1 parent 95dab64 commit e0bf238

7 files changed

Lines changed: 96 additions & 94 deletions

File tree

.github/workflows/abidiff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: OnSyncPR-ABI
33
on:
44
pull_request_target:
55
types: [opened,synchronize]
6-
paths-ignore:
6+
paths-ignore:
77
- 'doc/**'
88

99
concurrency:

.github/workflows/bot-pr-comment.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
runs-on: ubuntu-latest
1010
if: github.event.issue.pull_request != '' && github.event.comment.body == 'label!' && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
1111
steps:
12-
- name: Checkout the latest code (shallow clone)
13-
uses: actions/checkout@v4
14-
with:
15-
ref: develop
16-
- name: Add appropriate labels
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
19-
run: cp --preserve .github/label.sh /tmp && /tmp/label.sh
12+
- name: Checkout the latest code (shallow clone)
13+
uses: actions/checkout@v4
14+
with:
15+
ref: develop
16+
- name: Add appropriate labels
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
19+
run: cp --preserve .github/label.sh /tmp && /tmp/label.sh
2020

2121
check_format:
2222
name: check-format
@@ -29,12 +29,12 @@ jobs:
2929
runs-on: ubuntu-22.04
3030
if: github.event.issue.pull_request != '' && github.event.comment.body == 'format!' && (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
3131
steps:
32-
- name: Checkout the latest code (shallow clone)
33-
uses: actions/checkout@v4
34-
with:
35-
ref: develop
36-
persist-credentials: false
37-
- name: Commit formatting changes
38-
env:
39-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
40-
run: cp --preserve .github/format.sh /tmp && /tmp/format.sh
32+
- name: Checkout the latest code (shallow clone)
33+
uses: actions/checkout@v4
34+
with:
35+
ref: develop
36+
persist-credentials: false
37+
- name: Commit formatting changes
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
40+
run: cp --preserve .github/format.sh /tmp && /tmp/format.sh

.github/workflows/bot-pr-updated.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818
runs-on: ubuntu-latest
1919
if: github.event.pull_request.author_association == 'COLLABORATOR' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'OWNER'
2020
steps:
21-
- name: Checkout the latest code (shallow clone)
22-
uses: actions/checkout@v4
23-
with:
24-
ref: develop
25-
- name: Check if PR number exists in wiki/Changelog
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
28-
run: .github/check-wiki-changelog.sh
21+
- name: Checkout the latest code (shallow clone)
22+
uses: actions/checkout@v4
23+
with:
24+
ref: develop
25+
- name: Check if PR number exists in wiki/Changelog
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
28+
run: .github/check-wiki-changelog.sh
2929

3030
spell-check:
3131
name: Spell Check with Typos
3232
runs-on: ubuntu-latest
3333
steps:
34-
- uses: actions/checkout@v4
35-
- name: Check for typos
36-
uses: crate-ci/typos@master
37-
with:
38-
config: .github/_typos.toml
34+
- uses: actions/checkout@v4
35+
- name: Check for typos
36+
uses: crate-ci/typos@master
37+
with:
38+
config: .github/_typos.toml

.github/workflows/github-to-codehub-push-sync.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
name: CASTIEL2 Codehub Sync
1616
steps:
17-
- uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0
20-
- uses: cniethammer/git-repo-sync@cb1067d118c0c209bcded585b5c78e581bb0dfec
21-
with:
22-
target-url: 'https://codehub.hlrs.de/coes/microcard2/ginkgo.git'
23-
target-username: ${{ secrets.CODEHUB_TOKEN_NAME }}
24-
target-token: ${{ secrets.CODEHUB_TOKEN }}
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- uses: cniethammer/git-repo-sync@cb1067d118c0c209bcded585b5c78e581bb0dfec
21+
with:
22+
target-url: 'https://codehub.hlrs.de/coes/microcard2/ginkgo.git'
23+
target-username: ${{ secrets.CODEHUB_TOKEN_NAME }}
24+
target-token: ${{ secrets.CODEHUB_TOKEN }}

.github/workflows/intel.yml

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: Intel-build
33
on:
44
push:
55
branches:
6+
- 'main'
67
- 'master'
78
- 'develop'
89
- 'release/**'
910
tags:
1011
- '**'
1112
pull_request:
1213
types: [opened,synchronize]
13-
paths-ignore:
14+
paths-ignore:
1415
- 'doc/**'
1516

1617
concurrency:
@@ -23,32 +24,32 @@ jobs:
2324
fail-fast: false
2425
matrix:
2526
config:
26-
- {compiler: "dpcpp", build_type: "Release", name: "intel/dpcpp/release/shared", mixed: "ON"}
27-
- {compiler: "icpx", build_type: "Release", name: "intel/icpx/release/shared", mixed: "OFF"}
27+
- {compiler: "dpcpp", build_type: "Release", name: "intel/dpcpp/release/shared", mixed: "ON"}
28+
- {compiler: "icpx", build_type: "Release", name: "intel/icpx/release/shared", mixed: "OFF"}
2829
name: ${{ matrix.config.name }}
2930
runs-on: [gpu_intel]
3031

3132
steps:
32-
- name: Checkout the latest code (shallow clone)
33-
uses: actions/checkout@v4
33+
- name: Checkout the latest code (shallow clone)
34+
uses: actions/checkout@v4
3435

35-
- name: configure
36-
run: |
37-
source /etc/profile
38-
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
39-
mkdir build
40-
cd build
41-
cmake .. -DCMAKE_INSTALL_PREFIX=install_ginkgo -DCMAKE_CXX_FLAGS="-Wpedantic -ffp-model=precise" -DCMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_BUILD_CUDA=OFF -DGINKGO_BUILD_HIP=OFF -DGINKGO_BUILD_MPI=OFF -DGINKGO_DPCPP_SINGLE_MODE=ON
42-
make -j8
43-
ONEAPI_DEVICE_SELECTOR=level_zero:gpu ctest -j10 --output-on-failure
44-
45-
- name: install
46-
run: |
47-
source /etc/profile
48-
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
49-
cd build
50-
SYCL_DEVICE_FILTER=level_zero:gpu make install
51-
export GINKGO_PATH="$(pwd)/install_ginkgo/lib"
52-
export LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LIBRARY_PATH
53-
export LD_LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LD_LIBRARY_PATH
54-
SYCL_DEVICE_FILTER=level_zero:gpu make test_install
36+
- name: configure
37+
run: |
38+
source /etc/profile
39+
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
40+
mkdir build
41+
cd build
42+
cmake .. -DCMAKE_INSTALL_PREFIX=install_ginkgo -DCMAKE_CXX_FLAGS="-Wpedantic -ffp-model=precise" -DCMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_BUILD_CUDA=OFF -DGINKGO_BUILD_HIP=OFF -DGINKGO_BUILD_MPI=OFF -DGINKGO_DPCPP_SINGLE_MODE=ON
43+
make -j8
44+
ONEAPI_DEVICE_SELECTOR=level_zero:gpu ctest -j10 --output-on-failure
45+
46+
- name: install
47+
run: |
48+
source /etc/profile
49+
module load intel-oneapi-compilers intel-oneapi-dpl intel-oneapi-mkl cmake
50+
cd build
51+
SYCL_DEVICE_FILTER=level_zero:gpu make install
52+
export GINKGO_PATH="$(pwd)/install_ginkgo/lib"
53+
export LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LIBRARY_PATH
54+
export LD_LIBRARY_PATH=${ICL_INTEL_TBB_ROOT}/lib64:${GINKGO_PATH}:$LD_LIBRARY_PATH
55+
SYCL_DEVICE_FILTER=level_zero:gpu make test_install

.github/workflows/mirror-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- 'master'
99
- 'develop'
1010
- 'release/**'
11-
paths-ignore:
11+
paths-ignore:
1212
- 'doc/**'
1313

1414
jobs:

.github/workflows/osx.yml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: OSX-build
33
on:
44
push:
55
branches:
6+
- 'main'
67
- 'master'
78
- 'develop'
89
- 'release/**'
910
tags:
1011
- '**'
1112
pull_request:
1213
types: [opened,synchronize]
13-
paths-ignore:
14+
paths-ignore:
1415
- 'doc/**'
1516
workflow_dispatch:
1617
inputs:
@@ -29,40 +30,40 @@ jobs:
2930
fail-fast: false
3031
matrix:
3132
config:
32-
- {shared: "ON", build_type: "Debug", name: "omp/debug/shared", "mixed": "OFF"}
33-
- {shared: "OFF", build_type: "Release", name: "omp/release/static", "mixed": "ON"}
33+
- {shared: "ON", build_type: "Debug", name: "omp/debug/shared", "mixed": "OFF"}
34+
- {shared: "OFF", build_type: "Release", name: "omp/release/static", "mixed": "ON"}
3435
name: ${{ matrix.config.name }}
3536
runs-on: [macos-latest]
3637

3738
steps:
38-
- name: Checkout the latest code (shallow clone)
39-
uses: actions/checkout@v4
39+
- name: Checkout the latest code (shallow clone)
40+
uses: actions/checkout@v4
4041

41-
- name: setup
42-
run: |
43-
brew install libomp
42+
- name: setup
43+
run: |
44+
brew install libomp
4445
45-
- name: info
46-
run: |
47-
g++ -v
48-
cmake --version
46+
- name: info
47+
run: |
48+
g++ -v
49+
cmake --version
4950
50-
- name: Debug over SSH (tmate)
51-
uses: mxschmitt/action-tmate@v3.5
52-
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
51+
- name: Debug over SSH (tmate)
52+
uses: mxschmitt/action-tmate@v3.5
53+
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
5354

54-
- name: configure
55-
run: |
56-
mkdir build
57-
mkdir install
58-
export INSTALL_PREFIX=`pwd`/install
59-
cd build
60-
cmake .. -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/libomp/ -DCMAKE_CXX_FLAGS=-Wpedantic -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }}
61-
make -j8
62-
ctest -j10 --output-on-failure
55+
- name: configure
56+
run: |
57+
mkdir build
58+
mkdir install
59+
export INSTALL_PREFIX=`pwd`/install
60+
cd build
61+
cmake .. -DCMAKE_PREFIX_PATH=/opt/homebrew/opt/libomp/ -DCMAKE_CXX_FLAGS=-Wpedantic -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }}
62+
make -j8
63+
ctest -j10 --output-on-failure
6364
64-
- name: install
65-
run: |
66-
cd build
67-
make install
68-
make test_install
65+
- name: install
66+
run: |
67+
cd build
68+
make install
69+
make test_install

0 commit comments

Comments
 (0)