summary refs log tree commit diff stats
path: root/.github
diff options
context:
space:
mode:
authorJuan Carlos <juancarlospaco@gmail.com>2023-10-18 21:12:50 -0300
committerGitHub <noreply@github.com>2023-10-18 20:12:50 -0400
commit05a7c0fdd098b1971041f742ebf9e1871e4ad2b4 (patch)
treef98cbac14dc58f4db92b76ad168dc75eab3dda92 /.github
parent0d4b3ed18edff5ae098be842a986cb32de651fbf (diff)
downloadNim-05a7c0fdd098b1971041f742ebf9e1871e4ad2b4.tar.gz
Bisect default Linux (#22840)
- Bisect default to Linux only. Tiny diff, YAML only.

| OS | How to? |
|----|---------|
| Linux | `-d:linux` |
| Windows | `-d:windows` |
| OS X | `-d:osx` |

If no `-d:linux` nor `-d:windows` nor `-d:osx` is used then defaults to
Linux.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bisects.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/bisects.yml b/.github/workflows/bisects.yml
index e73736d29..4a6a92f01 100644
--- a/.github/workflows/bisects.yml
+++ b/.github/workflows/bisects.yml
@@ -22,5 +22,10 @@ jobs:
           nim-version: 'devel'
 
       - uses: juancarlospaco/nimrun-action@nim
+        if: |
+          runner.os == 'Linux'   && contains(github.event.comment.body, '-d:linux'  ) ||
+          runner.os == 'Windows' && contains(github.event.comment.body, '-d:windows') ||
+          runner.os == 'macOS'   && contains(github.event.comment.body, '-d:osx'    ) ||
+          runner.os == 'Linux' && !contains(github.event.comment.body, '-d:linux') && !contains(github.event.comment.body, '-d:windows') && !contains(github.event.comment.body, '-d:osx')
         with:
           github-token: ${{ secrets.GITHUB_TOKEN }}