36 lines
626 B
YAML
36 lines
626 B
YAML
|
name: Test stack.yaml
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
tags:
|
||
|
- 'v*'
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- master
|
||
|
schedule:
|
||
|
- cron: '0 2 * * *'
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Build binary
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
fail-fast: false
|
||
|
matrix:
|
||
|
os: [macOS-latest, macOS-11, windows-latest, ubuntu-latest]
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v4
|
||
|
with:
|
||
|
submodules: 'true'
|
||
|
|
||
|
- name: Run build
|
||
|
run: |
|
||
|
env
|
||
|
ghcup --version
|
||
|
ghcup run -i --stack latest -- stack build
|
||
|
shell: bash
|
||
|
|