-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/bgzf_thread_count_variable
- Loading branch information
Showing
17 changed files
with
221 additions
and
57 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: 🐞 Bug report | ||
description: Create a report to help us improve SeqAn3. | ||
labels: [bug] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Does this problem persist on the current master? | ||
description: Update to the latest master branch of SeqAn and see if the issue persists. | ||
options: | ||
- label: I have verified the issue on the current master | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the bug you encountered. | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: A concise description of what you're experiencing. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. In this environment... | ||
2. With this code... | ||
3. Run '...' | ||
4. See error... | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Environment | ||
description: | | ||
examples: | ||
- **Operating system**: Ubuntu 20.04 | ||
- **SeqAn version**: 3.1.0 or 8a4f31cb7 (provide tag or commit as applicable) | ||
- **Compiler**: gcc 11.2 | ||
value: | | ||
- Operating system: | ||
- SeqAn version: | ||
- Compiler: | ||
render: markdown | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
If you already know how to fix the issue, you can directly create a pull-request instead of an issue. | ||
See the [contributor guide](https://docs.seqan.de/seqan/3-master-user/about_contributing.html) for more details. | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Questions and Answers | ||
url: https://github.com/seqan/seqan3/discussions | ||
about: Ask us about installing and using SeqAn3 in our GitHub Discussions forum! | ||
- name: Documentation | ||
url: https://docs.seqan.de/ | ||
about: See our extensive documentation for usage examples and more! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
name: SeqAn3 AVX2 CI | ||
|
||
on: | ||
# Will always run on the default branch | ||
schedule: | ||
- cron: "0 6 * * SUN" | ||
# Enables a manual trigger, may run on any branch | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: avx2-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
CMAKE_VERSION: 3.10.3 | ||
SEQAN3_NO_VERSION_CHECK: 1 | ||
TZ: Europe/Berlin | ||
ISSUE: 2905 # Issue number to use for reporting failures | ||
|
||
defaults: | ||
run: | ||
shell: bash -exo pipefail {0} | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.build }} gcc${{ matrix.compiler }} | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 300 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
compiler: [9, 10, 11] | ||
build: [unit, snippet, performance, header] | ||
|
||
steps: | ||
- name: Checkout SeqAn3 | ||
uses: actions/checkout@v2 | ||
with: | ||
path: seqan3 | ||
submodules: true | ||
|
||
- name: Checkout SeqAn2 | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: seqan/seqan | ||
ref: develop | ||
path: seqan3/submodules/seqan | ||
|
||
- name: Configure APT | ||
continue-on-error: true | ||
run: bash ./seqan3/.github/workflows/scripts/configure_apt.sh | ||
|
||
- name: Install CMake | ||
run: bash ./seqan3/.github/workflows/scripts/install_cmake.sh | ||
|
||
- name: Install compiler g++-${{ matrix.compiler }} | ||
run: sudo apt-get install --yes g++-${{ matrix.compiler }} | ||
|
||
- name: Configure tests | ||
env: | ||
CXX: g++-${{ matrix.compiler }} | ||
CC: gcc-${{ matrix.compiler }} | ||
run: | | ||
mkdir seqan3-build | ||
cd seqan3-build | ||
cmake ../seqan3/test/${{ matrix.build }} -DCMAKE_BUILD_TYPE=Release \ | ||
-DSEQAN3_VERBOSE_TESTS=OFF \ | ||
-DSEQAN3_BENCHMARK_MIN_TIME=0.01 \ | ||
-DCMAKE_CXX_FLAGS="-mavx2" | ||
case "${{ matrix.build }}" in | ||
unit) make -j2 gtest_build;; | ||
snippet) make -j2 gtest_build;; | ||
performance) make -j2 gbenchmark_build;; | ||
header) make -j2 gtest_build gbenchmark_build;; | ||
esac | ||
- name: Build tests | ||
run: | | ||
cd seqan3-build | ||
make -k -j2 2>&1 | tee build.log | ||
- name: Setup Python | ||
if: ${{ failure() }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Process Log | ||
if: ${{ failure() }} | ||
run: | | ||
FILE="seqan3/.github/ISSUE_TEMPLATE/cron_comment_template.md" | ||
python3 seqan3/.github/workflows/scripts/process_compiler_error_log.py seqan3-build/build.log >> $FILE | ||
- name: Create comment body | ||
if: ${{ failure() }} | ||
id: comment-body | ||
run: | | ||
FILE="seqan3/.github/ISSUE_TEMPLATE/cron_comment_template.md" | ||
URL="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" | ||
sed -i "s@{{ build }}@${{ matrix.build }}@" $FILE | ||
sed -i "s@{{ compiler }}@${{ matrix.compiler }}@" $FILE | ||
sed -i "s@{{ url }}@$URL@" $FILE | ||
body=$(cat $FILE) | ||
body="${body//'%'/'%25'}" | ||
body="${body//$'\n'/'%0A'}" | ||
body="${body//$'\r'/'%0D'}" | ||
echo ::set-output name=body::$body | ||
- name: Reopen issue | ||
if: ${{ failure() }} | ||
uses: octokit/request-action@v2.x | ||
with: | ||
route: PATCH /repos/{owner}/{repo}/issues/{issue_number} | ||
owner: ${{ github.repository_owner }} | ||
repo: seqan3 | ||
issue_number: ${{ env.ISSUE }} | ||
state: "open" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create comment | ||
if: ${{ failure() }} | ||
uses: peter-evans/create-or-update-comment@v1 | ||
with: | ||
issue-number: ${{ env.ISSUE }} | ||
body: ${{ steps.comment-body.outputs.body }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters