From 8a7bb5a5a7d1f0d671e9c383fbbfeffebd0e1d9f Mon Sep 17 00:00:00 2001 From: MoFtZ Date: Wed, 10 Apr 2024 21:21:48 +1000 Subject: [PATCH] Force MacOS for testing. --- .github/workflows/ci.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0adca28d6..3a68822cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,8 @@ on: - 'Docs/**' - 'Site/**' schedule: - # Run daily at 00:00 so we get notified if CI is broken before a pull request - # is submitted. - - cron: '0 0 * * *' + # Run every 30 mins. + - cron: '*/30 * * * *' env: DOTNET_NOLOGO: true @@ -99,25 +98,7 @@ jobs: - name: Setup OS matrix id: setup-os-matrix run: | - os=("ubuntu-latest" "windows-latest") - - # runs on macOS only if there is a push to master, or a tag is - # pushed, we do this since macOS builds last too long and ILGPU - # is rarely used on a macOS - ( - [ "${{ github.event_name }}" == "workflow_dispatch" ] || - [ "${{ github.event_name }}" == "schedule" ] || - ( - [ "${{ github.event_name }}" == "push" ] && - ( - [ "${{ github.ref }}" == "refs/heads/master" ] || - [[ "${{ github.ref }}" =~ "refs/tags/v" ]] - ) - ) - ) && os+=("macos-latest") - - [ "${{ steps.is-fork.outputs.fork }}" == "false" ] && os+=("cuda") - + os=("macos-latest") echo "os=$(jq -cn '$ARGS.positional' --args ${os[@]})" >> $GITHUB_OUTPUT outputs: os: ${{ steps.setup-os-matrix.outputs.os }}