Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Updating uncommon-dylan #33

Updating uncommon-dylan

Updating uncommon-dylan #33

Workflow file for this run

name: test-suite
on:
push:
paths-ignore: ['**.rst']
pull_request:
branches:
- main
- master
# This enables the Run Workflow button on the Actions tab.
workflow_dispatch:
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
# Install dylan-compiler and dylan binaries in the current PATH.
- uses: dylan-lang/install-opendylan@v3
with:
version: 2023.1
tag: v2023.1.0
- name: Build and run test suite
env:
DYLAN_CATALOG: ext/pacman-catalog
DYLAN: dylan-root
run: |
mkdir -p ${DYLAN}
make test
- name: Install
env:
DYLAN_CATALOG: ext/pacman-catalog
DYLAN: dylan-root
run: |
mkdir -p ${DYLAN}
make install
- name: Exercise installed dylan-tool
env:
DYLAN_CATALOG: ext/pacman-catalog
DYLAN: dylan-root
run: |
# macOS doesn't always have realpath so fake it with python
dylan_exe=$(python3 -c "import os.path; print(os.path.realpath('${DYLAN}/bin/dylan-tool-app'))")
export DYLAN_CATALOG=$(python3 -c "import os.path; print(os.path.realpath('${DYLAN_CATALOG}'))")
${dylan_exe} new library --force-package abc [email protected]
cd abc
${dylan_exe} update
${dylan_exe} status
${dylan_exe} list
${dylan_exe} build abc-test-suite
_build/bin/abc-test-suite