-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CI runners and installation docs
- Loading branch information
Showing
11 changed files
with
95 additions
and
71 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,24 @@ | ||
name: run tests on mac | ||
name: run tests on macOS | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 3 * * *' | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
jobs: | ||
regular_check: | ||
runs-on: macos-12 | ||
if: github.event_name != 'schedule' | ||
macos: | ||
runs-on: macos-13 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Python environment | ||
uses: actions/setup-python@v4.3.1 | ||
uses: actions/setup-python@v5.1.0 | ||
with: | ||
python-version: '3.8' | ||
- name: Check without sanitizer | ||
python-version: '3.9' | ||
- name: Build and check | ||
uses: ./.github/actions/build_and_check | ||
with: | ||
asan: false | ||
ubsan: false | ||
|
||
sanitizer_check: | ||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
issues: write # to create an issue | ||
|
||
runs-on: macos-12 | ||
if: (github.event_name == 'schedule' && github.repository == 'espressomd/espresso') | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@main | ||
- name: Setup Python environment | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.8' | ||
- name: Check with sanitizer | ||
uses: ./.github/actions/build_and_check | ||
with: | ||
asan: true | ||
ubsan: true | ||
- name: Setting job link variable | ||
if: ${{ failure() }} | ||
run: | | ||
echo "job_link=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}" >> $GITHUB_ENV | ||
- uses: alialaa/issue-action@v1 | ||
if: ${{ failure() }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: Scheduled CI job has failed | ||
body: ${{ env.job_link }} | ||
env: | ||
build_procs: 4 | ||
check_procs: 4 |
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