.github: remove haskellstack.org from link check #222
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
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) | |
# | |
# SPDX-License-Identifier: BSD-2-Clause | |
# Actions to run on Push and Pull Request | |
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
pdf: | |
name: Language Spec PDF | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install texlive and pandoc | |
run: | | |
sudo apt-get update | |
sudo apt-get install pandoc texlive-latex-extra texlive-fonts-extra | |
- name: Build PDF | |
run: | | |
cd capDL-tool/doc/tex | |
make | |
python-capdl-tool: | |
name: Python build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ '3.9', '3.x' ] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install python packages | |
run: | | |
cd python-capdl-tool | |
pip3 install -r requirements.txt | |
- name: Run tests | |
run: | | |
cd python-capdl-tool/tests | |
PYTHONPATH=../ ./runall.py | |
capDL-tool: | |
name: capDL-tool (ghc) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
sudo apt-get update | |
sudo apt-get install libxml2-utils | |
- uses: haskell/actions/setup@v2 | |
with: | |
enable-stack: true | |
stack-setup-ghc: true | |
- name: Build and test | |
run: | | |
cd capDL-tool | |
make clean sandbox all | |
make tests |