Skip to content

Commit

Permalink
Revert "Add automatic full CI builds that run twice a week (#413)"
Browse files Browse the repository at this point in the history
This reverts commit 19bcd06.
  • Loading branch information
AdamGlustein committed Dec 10, 2024
1 parent 19bcd06 commit 95b3c25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
name: Build Status

env:
# Run full CI Monday and Thursday at 3:25am EST (08:25 UTC)
# Note: do not run scheduled jobs on the hour exactly, per:
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
# GitHub Actions schedules can sometimes delay by up to 15 minutes due to platform load
FULL_CI_SCHEDULE: '25 8 * * 1,4'

on:
push:
branches:
Expand All @@ -33,8 +26,6 @@ on:
required: false
type: boolean
default: false
schedule:
- cron: '25 8 * * 1,4'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -69,7 +60,7 @@ jobs:

outputs:
COMMIT_MESSAGE: ${{ steps.setup.outputs.COMMIT_MSG }}
FULL_RUN: ${{ steps.setuppush.outputs.FULL_RUN || steps.setuppr.outputs.FULL_RUN || steps.setupmanual.outputs.FULL_RUN || steps.setupschedule.outputs.FULL_RUN }}
FULL_RUN: ${{ steps.setuppush.outputs.FULL_RUN || steps.setuppr.outputs.FULL_RUN || steps.setupmanual.outputs.FULL_RUN }}

steps:
- name: Checkout
Expand Down Expand Up @@ -118,17 +109,6 @@ jobs:
env:
FULL_RUN: ${{ github.event.inputs.ci-full }}
if: ${{ github.event_name == 'workflow_dispatch' }}

- name: Display and Setup Build Args (Schedule)
id: setupschedule
run: |
echo "Commit Message: $COMMIT_MSG"
echo "Full Run: $FULL_RUN"
echo "COMMIT_MSG=$COMMIT_MSG" >> $GITHUB_OUTPUT
echo "FULL_RUN=$FULL_RUN" >> $GITHUB_OUTPUT
env:
FULL_RUN: ${{ github.event.schedule == env.FULL_CI_SCHEDULE }}
if: ${{ github.event_name == 'schedule' }}

########################################################
#......................................................#
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ dependencies-vcpkg: ## install dependencies via vcpkg
cd vcpkg && ./bootstrap-vcpkg.sh && ./vcpkg install

dependencies-win: ## install dependencies via windows
choco install cmake curl winflexbison ninja unzip zip --no-progress -y
choco install cmake --version=3.31.1
choco install curl winflexbison ninja unzip zip --no-progress -y --verbose --debug

############################################################################################
# Thanks to Francoise at marmelab.com for this
Expand Down

0 comments on commit 95b3c25

Please sign in to comment.