Skip to content

Commit

Permalink
Re-schedule GHA workflows
Browse files Browse the repository at this point in the history
Disable manual trigger to avoid spams.
Only run slow tests (like test-cross) on post-commit.
Display status of main GHA tests in README's test matrix,
so test that may fail in post-commit appear clearly in docs.
  • Loading branch information
blapie committed Jun 10, 2024
1 parent 6ee14bc commit 4e08851
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: "macOS Build & Test"

on:
# allow direct trigger
workflow_dispatch:
push:
pull_request:

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: "MSYS2 Build & Test"

on:
# allow direct trigger
workflow_dispatch:
push:
pull_request:

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-as-subproject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: "Build SLEEF as Subproject"

on:
# allow direct trigger
workflow_dispatch:
push:
pull_request:

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-cross-llvm-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: "LLVM-MinGW Cross Build"

on:
# allow direct trigger
workflow_dispatch:
push:
pull_request:

Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/build-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
name: "Build & Test Examples"

on:
# allow direct trigger
workflow_dispatch:
push:
pull_request:

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

name: "Build & Test"
name: "Linux Build & Test"

on:
# allow direct trigger
workflow_dispatch:
push:
pull_request:

Expand Down Expand Up @@ -247,6 +245,7 @@ jobs:
if: always()

test-cross:
if: github.event_name == 'push' && github.ref_name == 'master'
runs-on: ubuntu-latest
needs: [build-native, build-cross]
strategy:
Expand Down
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# SLEEF

![Github Actions](https://github.com/shibatch/sleef/actions/workflows/build_and_test.yml/badge.svg?event=push&branch=master)
[![DOI:10.1109/TPDS.2019.2960333](http://img.shields.io/badge/DOI-10.1109/TPDS.2019.2960333-blue.svg)](https://ieeexplore.ieee.org/document/8936472)
[![License](https://img.shields.io/badge/License-Boost_1.0-lightblue.svg)](https://www.boost.org/LICENSE_1_0.txt)
![CMake](https://img.shields.io/badge/cmake-v3.18+-yellow.svg)
Expand Down Expand Up @@ -36,9 +35,21 @@ Compilation of SLEEF on previously supported environments might still be safe, w
<th colspan="9">OS/Compiler</th>
</tr>
<tr>
<th colspan="3">Linux</th>
<th colspan="2">macOS</th>
<th colspan="4">Windows</th>
<th colspan="3">Linux</br></br>
<a href="https://github.com/shibatch/sleef/actions/workflows/build_and_test.yml">
<img src="https://github.com/shibatch/sleef/actions/workflows/build_and_test.yml/badge.svg?event=push&branch=master"></a>
</th>
<th colspan="2">macOS</br></br>
<a href="https://github.com/shibatch/sleef/actions/workflows/build-and-test-macos.yml">
<img src="https://github.com/shibatch/sleef/actions/workflows/build-and-test-macos.yml/badge.svg?event=push&branch=master"></a>
</th>
<th colspan="4">Windows</br></br>
<a href="https://github.com/shibatch/sleef/actions/workflows/build-and-test-msys2.yml">
<img src="https://github.com/shibatch/sleef/actions/workflows/build-and-test-msys2.yml/badge.svg?event=push&branch=master"></a>
</br>
<a href="https://github.com/shibatch/sleef/actions/workflows/build-cross-llvm-mingw.yml">
<img src="https://github.com/shibatch/sleef/actions/workflows/build-cross-llvm-mingw.yml/badge.svg?event=push&branch=master"></a>
</th>
</tr>
<tr>
<th>Arch.</th>
Expand Down

0 comments on commit 4e08851

Please sign in to comment.