build nightly #268
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
name: build nightly | |
# The `build-nightly` workflow is separate from the `build` and `build-latest` | |
# workflows, as it is somewhat volatile, since it depends on the current state | |
# of the HEAD of agda/agda. | |
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 1 * * *' | |
workflow_call: | |
workflow_dispatch: | |
jobs: | |
build-nightly: | |
name: Build Agda (nightly) on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Agda (nightly) | |
uses: ./ | |
with: | |
agda-version: 'HEAD' | |
cabal-version: '3.8' | |
ghc-version: '9.4' | |
bundle: true | |
bundle-license-report: true | |
force-build: true | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, ubuntu-20.04, macos-11, macos-12, windows-2022] |