Scheduled Monthly #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See LICENSE file in this repo for license details. | |
name: Scheduled Monthly | |
on: | |
schedule: | |
# ┌───────────── minute (0 - 59) | |
# │ ┌───────────── hour (0 - 23) | |
# │ │ ┌───────────── day of the month (1 - 31) | |
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC) | |
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
# │ │ │ │ │ | |
# * * * * * | |
- cron: "30 4 1 * *" | |
# Allow triggering workflow manually | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch | |
workflow_dispatch: | |
jobs: | |
monthly: | |
name: Monthly Tasks | |
with: | |
# As specified here, the called workflow adds the i386 architecture to | |
# allow installing i386 package variants within a Debian-based x64 OS. | |
# | |
# refs https://github.com/atc0005/safelinks/issues/325 | |
makefile-enable-i386-architecture: true | |
# Dependencies used for building CGO-enabled x64 assets. | |
os-dependencies: "make bsdmainutils gcc gcc-multilib gcc-mingw-w64 xz-utils libgl1-mesa-dev xorg-dev" | |
# Optional additional set of OS dependencies intended specifically for | |
# the Makefile `all` recipe. | |
# | |
# NOTE: These *:i386 packages are only available once the i386 | |
# architecture has been explicitly added within the build environment. | |
# | |
# refs https://github.com/atc0005/safelinks/issues/325 | |
makefile-all-os-dependencies: "libxinerama-dev:i386 libgl1-mesa-dev:i386 libxrandr-dev:i386 libxxf86vm-dev:i386 libxi-dev:i386 libxcursor-dev:i386" | |
# Explicitly opt into running `make all` as part of scheduled monthly | |
# test build tasks. | |
makefile-build-all: true | |
uses: atc0005/shared-project-resources/.github/workflows/scheduled-monthly.yml@master |