agdaup/.github/workflows/build.yml
2024-09-06 19:31:15 +02:00

26 lines
No EOL
679 B
YAML

name: Build Agda
on: [push]
jobs:
build:
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]
steps:
- uses: haskell-actions/setup@v2
with:
ghc-version: 9.8.2
cabal-version: 3.10.3.0
- run: mkdir -p installdir
- name: Install Agda
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