Skip to content

Commit

Permalink
Run windows clang, nix, and fedora on workflow_dispatch
Browse files Browse the repository at this point in the history
Allows checking that everything builds when needed (e.g. when editing CMake
code).

See #2056.
  • Loading branch information
lmoureaux committed Nov 28, 2023
1 parent fecd5cf commit 3268d35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
name: "Windows Clang"
runs-on: windows-latest
needs: clang-format
if: github.event_name == 'schedule'
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
env:
VCPKG_ROOT: C:/vcpkg
VCPKG_DEFAULT_BINARY_CACHE: ${{github.workspace}}/vcpkg/bincache
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:

fedora:
runs-on: ubuntu-latest
if: github.event_name == 'schedule'
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
container: fedora:latest
steps:
- name: Install dependencies
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
nix:
runs-on: ubuntu-latest
if: github.event_name == 'schedule'
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
steps:
- name: checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 3268d35

Please sign in to comment.