Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Update actions #368

Merged
merged 5 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/double-precision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ name: double precision build and test with GCC+TPLs (no GPUs)
on:
push:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_and_test:
Expand All @@ -26,17 +32,17 @@ jobs:
indexsize: ${{ matrix.indexsize }}
precision: ${{ matrix.precision }}
- name: Archive build files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: build_files
path: |
${{ github.workspace }}/test/build_*
!${{ github.workspace }}/test/build_*/Testing/output
- name: Archive output files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/output
${{ github.workspace }}/test/build_*/Testing/
12 changes: 9 additions & 3 deletions .github/workflows/extended-precision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: extended precision build and test with GCC+TPLs (no GPUs)

on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_and_test:
Expand All @@ -25,17 +31,17 @@ jobs:
indexsize: ${{ matrix.indexsize }}
precision: ${{ matrix.precision }}
- name: Archive build files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: build_files
path: |
${{ github.workspace }}/test/build_*
!${{ github.workspace }}/test/build_*/Testing/output
- name: Archive output files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/output
${{ github.workspace }}/test/build_*/Testing/
6 changes: 6 additions & 0 deletions .github/workflows/macos-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: MacOS short test

on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/single-precision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ name: single precision build and test with GCC+TPLs (no GPUs)

on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_and_test:
Expand All @@ -25,17 +31,17 @@ jobs:
indexsize: ${{ matrix.indexsize }}
precision: ${{ matrix.precision }}
- name: Archive build files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: build_files
path: |
${{ github.workspace }}/test/build_*
!${{ github.workspace }}/test/build_*/Testing/output
- name: Archive output files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/output
${{ github.workspace }}/test/build_*/Testing/
11 changes: 8 additions & 3 deletions .github/workflows/spack-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ name: spack@develop build and test with GCC+TPLs (no GPUs)

on:
pull_request:
merge_group:
workflow_dispatch:
schedule:
- cron: '00 22 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_and_test:
runs-on: ubuntu-latest
Expand All @@ -28,17 +33,17 @@ jobs:
indexsize: ${{ matrix.indexsize }}
precision: ${{ matrix.precision }}
- name: Archive build files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: build_files
path: |
${{ github.workspace }}/test/build_*
!${{ github.workspace }}/test/build_*/Testing/output
- name: Archive output files from failed build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
if: failure()
with:
name: output_files
path: |
${{ github.workspace }}/test/build_*/Testing/output
${{ github.workspace }}/test/build_*/Testing/
6 changes: 6 additions & 0 deletions .github/workflows/ubuntu-clang-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Ubuntu (clang) short test

on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/windows-latest-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Windows (mingw) short test

on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/windows-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Windows short test

on:
pull_request:
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down