Skip to content

Workflow file for this run

name: build-and-test
on:
push:
# all branches
pull_request:
branches:
- main
- master
# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
# We use dylan-tool here so that the library will be tested with the package
# deps specified in pkg.json.
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: dylan-lang/install-dylan-tool@v1
- name: Create workspace
run: |
./dylan new workspace pc
- uses: actions/checkout@v2
with:
path: pc/pacman-catalog
- name: Build pacman-catalog-test-suite
run: |
cd pc
DYLAN_CATALOG=./pacman-catalog ../dylan update
../dylan-compiler -build -jobs 3 pacman-catalog-test-suite
- name: Run pacman-catalog-test-suite
run: |
cd pc
DYLAN_CATALOG=./pacman-catalog _build/bin/pacman-catalog-test-suite