agdaup/.github/workflows/build.yml

26 lines
679 B
YAML
Raw Normal View History

2024-09-05 22:36:47 +02:00
name: Build Agda
2024-09-05 22:38:06 +02:00
on: [push]
2024-09-05 22:36:47 +02:00
jobs:
build:
2024-09-05 22:38:56 +02:00
runs-on: ubuntu-latest
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-latest, macOS-latest, windows-latest]
# agda-version: [2.6.2, 2.7.0]
2024-09-05 22:36:47 +02:00
steps:
- uses: haskell-actions/setup@v2
with:
ghc-version: 9.8.2
cabal-version: 3.10.3.0
2024-09-06 19:31:15 +02:00
- run: mkdir -p installdir
2024-09-05 22:36:47 +02:00
- name: Install Agda
2024-09-06 19:31:15 +02:00
run: cabal install --installdir installdir Agda
- run: tar cvf agda.tar.gz -C "$(dirname $(dirname $(realpath installdir/agda)))" .
- uses: actions/upload-artifact@v4
with:
name: agda.tar.gz
path: agda.tar.gz