Skip to content

Commit d3cb765

Browse files
authored
Merge pull request #7 from cgay/dev
Use OD 2024.1 by default, run CI on macOS, README updates
2 parents b63cc23 + 9dae940 commit d3cb765

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# To test changes to the install-opendylan Action we choose an arbitrary
2-
# project to build and test.
1+
# To test changes to the install-opendylan Action we choose an arbitrary, relatively
2+
# simple project to build and test.
33

44
name: build-and-test
55

@@ -16,7 +16,11 @@ on:
1616

1717
jobs:
1818
build-and-test:
19-
runs-on: ubuntu-latest
19+
runs-on: ${{ matrix.os }}
20+
strategy:
21+
matrix:
22+
os: [macos-latest, ubuntu-latest]
23+
2024
steps:
2125

2226
- uses: actions/checkout@v4
@@ -29,7 +33,7 @@ jobs:
2933
# Use the local checkout of install-opendylan as a GitHub Action.
3034
- uses: ./
3135

32-
- name: Build test suite app
36+
- name: Build test suite
3337
run: |
3438
cd hash-algorithms
3539
dylan update

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![tests](https://github.com/dylan-lang/install-opendylan/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/dylan-lang/install-opendylan/actions/workflows/build-and-test.yml)
2+
13
# install-opendylan
24

35
A GitHub Action to install the Open Dylan compiler (`dylan-compiler`) and
@@ -15,18 +17,14 @@ To install a specific released version:
1517
```yaml
1618
- uses: dylan-lang/install-opendylan@v3
1719
with:
18-
version: 2020.1
1920
tag: v2020.1.0
2021
```
2122
22-
`version` is the version number used in the top-level Open Dylan directory when
23-
unpacked from the tarball.
24-
2523
`tag` is the exact tag identifying the GitHub release, including the leading
2624
"v".
2725

2826
**Important:** This Action must be used **after**
29-
[actions/checkout@v2](https://github.com/actions/checkout) when using the
27+
[actions/checkout@vN](https://github.com/actions/checkout) when using the
3028
default `path:` (i.e., the current directory) because `actions/checkout@v2`
3129
deletes everything in the repo directory first.
3230

@@ -44,3 +42,12 @@ included by the `dylan update` command when generating registry files.
4442

4543
See the [hello](https://github.com/cgay/hello) repository for the canonical
4644
example of how to use this Action.
45+
46+
# Versions
47+
48+
This repository uses standard [Semantic Versioning](https://semver.org), but also
49+
provides moving tags for each major version for those who want to get the latest Open
50+
Dylan releases automatically. For example, the "v3" tag always points to the latest
51+
release with major version 3, e.g., `v3 -> v3.2.1`. The major version of
52+
`install-opendylan` only changes when the Action itself is changed incompatibly, as with
53+
normal SemVer semantics.

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ inputs:
44
tag:
55
required: false
66
type: string
7-
default: v2023.1.0
7+
default: v2024.1.0
88

99
runs:
1010
using: composite
@@ -31,7 +31,7 @@ runs:
3131
echo "dylan-tool: ${PWD}/dylan"
3232
echo -n "Open Dylan "
3333
./dylan-compiler -version
34-
echo -n "dylan-tool version: "
34+
echo -n "dylan version: "
3535
./dylan version
3636
# https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
3737
# Eventually we can add opendylan/bin to the path instead of creating

0 commit comments

Comments
 (0)