Skip to content

Commit 6ec94f3

Browse files
authored
Merge pull request #3338 from eseiler/infra/ci
[INFRA] Cleanup CI
2 parents d660a79 + c93e8c0 commit 6ec94f3

File tree

13 files changed

+25
-149
lines changed

13 files changed

+25
-149
lines changed

.github/workflows/README.md

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/workflows/cron_api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,22 @@ jobs:
7070
fi
7171
7272
- name: Reopen issue
73-
if: failure()
73+
if: failure() && github.repository_owner == 'seqan'
7474
run: gh issue reopen ${{ env.ISSUE }}
7575
env:
7676
GH_TOKEN: ${{ secrets.SEQAN_ACTIONS_PAT }}
7777
GH_REPO: ${{ github.repository }}
7878

7979
- name: Find Comment
80-
if: always()
80+
if: always() && github.repository_owner == 'seqan'
8181
uses: peter-evans/find-comment@v3
8282
id: find_comment
8383
with:
8484
issue-number: ${{ env.ISSUE }}
8585
body-includes: ${{ matrix.build }} on ${{ matrix.compiler }}
8686

8787
- name: Update comment
88-
if: always()
88+
if: always() && github.repository_owner == 'seqan'
8989
uses: peter-evans/create-or-update-comment@v4
9090
with:
9191
comment-id: ${{ steps.find_comment.outputs.comment-id }}

.github/workflows/cron_avx2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,22 @@ jobs:
9494
fi
9595
9696
- name: Reopen issue
97-
if: failure()
97+
if: failure() && github.repository_owner == 'seqan'
9898
run: gh issue reopen ${{ env.ISSUE }}
9999
env:
100100
GH_TOKEN: ${{ secrets.SEQAN_ACTIONS_PAT }}
101101
GH_REPO: ${{ github.repository }}
102102

103103
- name: Find Comment
104-
if: always()
104+
if: always() && github.repository_owner == 'seqan'
105105
uses: peter-evans/find-comment@v3
106106
id: find_comment
107107
with:
108108
issue-number: ${{ env.ISSUE }}
109109
body-includes: ${{ matrix.build }} on ${{ matrix.compiler }}
110110

111111
- name: Update comment
112-
if: always()
112+
if: always() && github.repository_owner == 'seqan'
113113
uses: peter-evans/create-or-update-comment@v4
114114
with:
115115
comment-id: ${{ steps.find_comment.outputs.comment-id }}

.github/workflows/cron_debian.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,27 @@ jobs:
3333
apt-get update
3434
apt-get install --yes --no-install-recommends build-essential git cmake wget fakeroot ca-certificates
3535
36-
- name: Setup Repo
36+
- name: Create Source Package
37+
id: source_package
3738
run: |
38-
mkdir unstable && cd unstable
39+
mkdir source && cd source
3940
git clone --depth 1 https://github.com/seqan/seqan3.git
40-
cd seqan3/
41+
mkdir package && cd package
42+
cmake ../seqan3
43+
make package_source
44+
path=$(find "${PWD}" -maxdepth 1 -type f -name "*-Source.tar.xz")
45+
echo "path=${path}" >> $GITHUB_OUTPUT
46+
47+
- name: Create Debian Repo
48+
run: |
49+
mkdir -p unstable/seqan3 && cd unstable
50+
tar xf ${{ steps.source_package.outputs.path }} -C seqan3 --strip-components=1
51+
cd seqan3
52+
git init .
4153
git remote add salsa https://salsa.debian.org/med-team/seqan3.git
4254
git fetch --depth 1 salsa
4355
git checkout salsa/debian/experimental -- debian
4456
45-
- name: Reduce Noise
46-
working-directory: unstable/seqan3
47-
run: |
48-
if [[ -f test/cmake/seqan3_require_ccache.cmake ]]; then
49-
echo "" > test/cmake/seqan3_require_ccache.cmake
50-
fi
51-
if [[ -f test/documentation/seqan3_doxygen_cfg.in ]]; then
52-
sed -i 's@^\(QUIET\s*=\) NO@\1 YES@' test/documentation/seqan3_doxygen_cfg.in
53-
fi
54-
5557
- name: Install Dependencies
5658
working-directory: unstable/seqan3
5759
run: apt-get build-dep --yes --no-install-recommends .

.github/workflows/cron_latest_libraries.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,22 @@ jobs:
102102
fi
103103
104104
- name: Reopen issue
105-
if: failure()
105+
if: failure() && github.repository_owner == 'seqan'
106106
run: gh issue reopen ${{ env.ISSUE }}
107107
env:
108108
GH_TOKEN: ${{ secrets.SEQAN_ACTIONS_PAT }}
109109
GH_REPO: ${{ github.repository }}
110110

111111
- name: Find Comment
112-
if: always()
112+
if: always() && github.repository_owner == 'seqan'
113113
uses: peter-evans/find-comment@v3
114114
id: find_comment
115115
with:
116116
issue-number: ${{ env.ISSUE }}
117117
body-includes: ${{ matrix.build }} on ${{ matrix.compiler }}
118118

119119
- name: Update comment
120-
if: always()
120+
if: always() && github.repository_owner == 'seqan'
121121
uses: peter-evans/create-or-update-comment@v4
122122
with:
123123
comment-id: ${{ steps.find_comment.outputs.comment-id }}

0 commit comments

Comments
 (0)