From 4e08851f59fc2b545f9c393c6a23dfd311a26308 Mon Sep 17 00:00:00 2001 From: Pierre Blanchard Date: Mon, 3 Jun 2024 18:29:37 +0000 Subject: [PATCH] Re-schedule GHA workflows 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. --- .github/workflows/build-and-test-macos.yml | 2 -- .github/workflows/build-and-test-msys2.yml | 2 -- .github/workflows/build-as-subproject.yml | 2 -- .github/workflows/build-cross-llvm-mingw.yml | 2 -- .github/workflows/build-examples.yml | 2 -- .github/workflows/build_and_test.yml | 5 ++--- README.md | 19 +++++++++++++++---- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-and-test-macos.yml b/.github/workflows/build-and-test-macos.yml index 85634d86..0871d51d 100644 --- a/.github/workflows/build-and-test-macos.yml +++ b/.github/workflows/build-and-test-macos.yml @@ -2,8 +2,6 @@ name: "macOS Build & Test" on: - # allow direct trigger - workflow_dispatch: push: pull_request: diff --git a/.github/workflows/build-and-test-msys2.yml b/.github/workflows/build-and-test-msys2.yml index 8a63cd64..c68a9633 100644 --- a/.github/workflows/build-and-test-msys2.yml +++ b/.github/workflows/build-and-test-msys2.yml @@ -2,8 +2,6 @@ name: "MSYS2 Build & Test" on: - # allow direct trigger - workflow_dispatch: push: pull_request: diff --git a/.github/workflows/build-as-subproject.yml b/.github/workflows/build-as-subproject.yml index 6bd930c9..554f5514 100644 --- a/.github/workflows/build-as-subproject.yml +++ b/.github/workflows/build-as-subproject.yml @@ -2,8 +2,6 @@ name: "Build SLEEF as Subproject" on: - # allow direct trigger - workflow_dispatch: push: pull_request: diff --git a/.github/workflows/build-cross-llvm-mingw.yml b/.github/workflows/build-cross-llvm-mingw.yml index ac2d1a7c..6434f044 100644 --- a/.github/workflows/build-cross-llvm-mingw.yml +++ b/.github/workflows/build-cross-llvm-mingw.yml @@ -2,8 +2,6 @@ name: "LLVM-MinGW Cross Build" on: - # allow direct trigger - workflow_dispatch: push: pull_request: diff --git a/.github/workflows/build-examples.yml b/.github/workflows/build-examples.yml index 46d724ae..1f68015b 100644 --- a/.github/workflows/build-examples.yml +++ b/.github/workflows/build-examples.yml @@ -2,8 +2,6 @@ name: "Build & Test Examples" on: - # allow direct trigger - workflow_dispatch: push: pull_request: diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 2141f9fb..be59c188 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -1,9 +1,7 @@ -name: "Build & Test" +name: "Linux Build & Test" on: - # allow direct trigger - workflow_dispatch: push: pull_request: @@ -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: diff --git a/README.md b/README.md index 5ba06531..cfe50c90 100644 --- a/README.md +++ b/README.md @@ -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) @@ -36,9 +35,21 @@ Compilation of SLEEF on previously supported environments might still be safe, w OS/Compiler - Linux - macOS - Windows + Linux

+ + + + macOS

+ + + + Windows

+ + +
+ + + Arch.