Skip to content

Commit

Permalink
automation: use install-opendylan instead of install-dylan-tool
Browse files Browse the repository at this point in the history
Add clarifying (I hope) comments
  • Loading branch information
cgay committed Apr 10, 2024
1 parent 563cc27 commit cdddc1c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,24 @@ jobs:
- name: Checkout pacman-catalog
uses: actions/checkout@v4

- name: Install dylan-tool
uses: dylan-lang/install-dylan-tool@v3
- name: Install Open Dylan
uses: dylan-lang/install-opendylan@v3

# Use dylan-tool from the Open Dylan install to update the local
# workspace. Use the local checkout as the catalog so that updates to
# dylan-tool itself will be installed if we're testing a new version of
# dylan-tool.
- name: Update Dylan workspace
run: |
DYLAN_CATALOG=. dylan update
# Build the test suite using the dylan-tool sources specified in
# dev-dependencies so we get the latest.
- name: Build pacman-catalog-test-suite
run: |
DYLAN_CATALOG=. dylan update
dylan build -a
dylan build pacman-catalog-test-suite
# Run the test suite against the checked out catalog.
- name: Run pacman-catalog-test-suite
run: |
DYLAN_CATALOG=. _build/bin/pacman-catalog-test-suite --report surefire --report-file _build/pacman-catalog-tests.xml
Expand Down

0 comments on commit cdddc1c

Please sign in to comment.