bump version v2.3.0 -> v2.4.0 #293
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: setup legacy | |
on: | |
push: | |
branches: ['main'] | |
paths: ['**.ts', '**.js', '**.json', '**.yml'] | |
pull_request: | |
branches: ['main'] | |
paths: ['**.ts', '**.js', '**.json', '**.yml'] | |
types: [opened, synchronize, reopened] | |
# Limit concurrent runs to one per branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
################################################################################ | |
# Setup Agda (legacy) on every supported platform | |
################################################################################ | |
setup-legacy: | |
name: Setup Agda (${{ matrix.agda-version }}) on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Agda (${{ matrix.agda-version }}) | |
uses: ./ | |
with: | |
force-no-build: true | |
agda-version: ${{ matrix.agda-version }} | |
agda-stdlib-version: 'recommended' | |
- name: Test Agda | |
run: | | |
agda -v0 greet.agda | |
shell: sh | |
working-directory: tests/agda | |
- name: Test Agda with agda-stdlib | |
run: | | |
agda -v0 hello-world-dep.agda | |
agda -v0 hello-world-dep-lookup.agda | |
agda -v0 hello-world-proof.agda | |
shell: sh | |
working-directory: tests/agda-stdlib | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
[ | |
ubuntu-22.04, | |
ubuntu-20.04, | |
macos-12, | |
macos-14, | |
windows-2019, | |
windows-2022 | |
] | |
agda-version: | |
[ | |
'2.7.0', | |
'2.6.4.3', | |
'2.6.4.1', | |
'2.6.4', | |
'2.6.3', | |
'2.6.2.2', | |
'2.6.2.1', | |
'2.6.2', | |
'2.6.1.3', | |
'2.6.0.1', | |
'2.5.4.2', | |
'2.5.3', | |
'2.5.2' | |
] | |
exclude: | |
# Exclude older Agda versions for macOS (>=14) | |
- agda-version: '2.6.2.2' | |
os: macos-14 | |
- agda-version: '2.6.2.1' | |
os: macos-14 | |
- agda-version: '2.6.2' | |
os: macos-14 | |
- agda-version: '2.6.1.3' | |
os: macos-14 | |
- agda-version: '2.6.0.1' | |
os: macos-14 | |
- agda-version: '2.5.4.2' | |
os: macos-14 | |
- agda-version: '2.5.3' | |
os: macos-14 | |
- agda-version: '2.5.2' | |
os: macos-14 | |
# Exclude older Agda versions for Windows | |
- agda-version: '2.6.1.3' | |
os: windows-2022 | |
- agda-version: '2.6.0.1' | |
os: windows-2022 | |
- agda-version: '2.5.4.2' | |
os: windows-2022 | |
- agda-version: '2.5.3' | |
os: windows-2022 | |
- agda-version: '2.5.2' | |
os: windows-2022 | |
- agda-version: '2.6.1.3' | |
os: windows-2019 | |
- agda-version: '2.6.0.1' | |
os: windows-2019 | |
- agda-version: '2.5.4.2' | |
os: windows-2019 | |
- agda-version: '2.5.3' | |
os: windows-2019 | |
- agda-version: '2.5.2' | |
os: windows-2019 | |
################################################################################ | |
# Setup Agda on Ubuntu with various libraries & executables | |
################################################################################ | |
setup-with-agda-categories: | |
name: Setup Agda (${{ matrix.versions.agda }}) with agda-categories (${{ matrix.versions.agda-categories }}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Agda | |
uses: ./ | |
with: | |
force-no-build: true | |
agda-version: ${{ matrix.versions.agda }} | |
agda-stdlib-version: ${{ matrix.versions.agda-stdlib }} | |
agda-defaults: ${{ matrix.setup-as-default.agda-defaults }} | |
agda-libraries: | | |
https://github.com/agda/agda-categories.git#v${{ matrix.versions.agda-categories }} | |
- name: Test Agda with agda-categories | |
run: | | |
agda -v0 hello-categories.agda | |
shell: sh | |
working-directory: ${{ matrix.setup-as-default.working-directory }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- agda: '2.6.2.2' | |
agda-stdlib: '1.7' | |
agda-categories: '0.1.7.1' | |
setup-as-default: | |
- agda-defaults: '' | |
working-directory: tests/agda-categories | |
- agda-defaults: | | |
agda-categories | |
working-directory: tests/agda-categories-default | |
setup-with-agda-stdlib: | |
name: Setup Agda (${{ matrix.versions.agda }}) with agda-stdlib (${{ matrix.versions.agda-stdlib }}) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Agda | |
uses: ./ | |
with: | |
force-no-build: true | |
agda-version: ${{ matrix.versions.agda }} | |
agda-stdlib-version: ${{ matrix.versions.agda-stdlib }} | |
agda-defaults: ${{ matrix.setup-as-default.agda-defaults }} | |
- name: Test Agda with agda-stdlib | |
run: | | |
agda -v0 hello-world-dep.agda | |
agda -v0 hello-world-dep-lookup.agda | |
agda -v0 hello-world-proof.agda | |
shell: sh | |
working-directory: ${{ matrix.setup-as-default.working-directory }} | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- agda: '2.6.2.2' | |
agda-stdlib: '1.7' | |
setup-as-default: | |
- agda-defaults: '' | |
working-directory: tests/agda-stdlib | |
- agda-defaults: | | |
standard-library | |
working-directory: tests/agda-stdlib-default | |
setup-with-access-to-echo: | |
name: Setup Agda (${{ matrix.versions.agda }}) with access to /bin/echo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Agda | |
uses: ./ | |
with: | |
force-no-build: true | |
agda-version: ${{ matrix.versions.agda }} | |
agda-executables: | | |
/bin/echo | |
- name: Test Agda with /bin/echo | |
run: | | |
agda -v0 echo.agda | |
shell: sh | |
working-directory: tests/echo | |
strategy: | |
fail-fast: false | |
matrix: | |
versions: | |
- agda: '2.6.2.2' | |
agda-stdlib: '1.7' |