generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (43 loc) · 1.36 KB
/
build-latest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: build latest
on:
push:
branches: ['main']
paths: ['**.ts', '**.js', '**.json', '**.yml']
pull_request:
branches: ['main']
paths: ['**.ts', '**.js', '**.json', '**.yml']
types: [opened, synchronize, reopened]
workflow_call:
workflow_dispatch:
# Limit concurrent runs to one per branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
################################################################################
# Build Agda (latest) on the latest versions of each platform
################################################################################
build-latest:
name: Build Agda (latest) on ${{ matrix.os }} with Cabal
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build Agda (latest)
uses: ./
with:
agda-version: 'latest'
bundle: true
bundle-name: |
agda-{{ agda }}
-{{ arch }}
-{{ release }}
-ghc{{ ghc }}
{% if icu %}-icu{{ icu }}{% endif %}
bundle-compress: ${{ runner.os == 'Linux' }}
bundle-license-report: true
cabal-version: '3.10'
force-build: true
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-14, windows-2022]