Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pony-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Lint Pony source
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:release
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Lint
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: x86_64 Linux
runs-on: ubuntu-latest
container:
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:release
image: ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly
steps:
- uses: actions/checkout@v6.0.2
- name: Test with most recent ponyc release
Expand All @@ -43,13 +43,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v6.0.2
- name: Pull Docker image
run: docker pull ghcr.io/ponylang/shared-docker-ci-standard-builder:release
run: docker pull ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly
- name: Test with most recent ponyc release
run: |
docker run --rm \
-v ${{ github.workspace }}:/root/project \
-w /root/project \
ghcr.io/ponylang/shared-docker-ci-standard-builder:release \
ghcr.io/ponylang/shared-docker-ci-standard-builder:nightly \
make test

x86_windows:
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v6.0.2
- name: Test with most recent ponyc release
run: |
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-x86-64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-x86-64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
Expand-Archive -Path C:\ponyc.zip -DestinationPath C:\ponyc;
$env:PATH = 'C:\ponyc\bin;' + $env:PATH;
.\make.ps1 -Command test 2>&1
Expand All @@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v6.0.2
- name: Test with most recent ponyc release
run: |
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-arm64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
Expand-Archive -Path C:\ponyc.zip -DestinationPath C:\ponyc;
$env:PATH = 'C:\ponyc\bin;' + $env:PATH;
.\make.ps1 -Command test 2>&1
Expand All @@ -82,7 +82,7 @@ jobs:
steps:
- uses: actions/checkout@v6.0.2
- name: install ponyc
run: bash .ci-scripts/macos-x86-install-pony-tools.bash release
run: bash .ci-scripts/macos-x86-install-pony-tools.bash nightly
- name: brew install dependencies
run: brew install coreutils
- name: Test with most recent ponyc release
Expand All @@ -96,7 +96,7 @@ jobs:
steps:
- uses: actions/checkout@v6.0.2
- name: install ponyc
run: bash .ci-scripts/macos-arm64-install-pony-tools.bash release
run: bash .ci-scripts/macos-arm64-install-pony-tools.bash nightly
- name: brew install dependencies
run: brew install coreutils
- name: Test with most recent ponyc release
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ponyup update corral release

## Building From Source

Building from source requires ponyc 0.77.0 or later.
Building from source requires ponyc 0.78.0 or later.

See [BUILD.md](BUILD.md)

Expand Down
3 changes: 1 addition & 2 deletions corral/bundle/locator.pony
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,11 @@ class val Locator is
fun flat_name(): String =>
_Flattened(path())

fun string(): String iso^ =>
fun string(): String =>
"""
Returns the full string form of this locator.
"""
Path.join(repo_path + vcs_suffix, bundle_path)
.clone()

fun compare(that: Locator box): Compare =>
if repo_path != that.repo_path then
Expand Down
2 changes: 1 addition & 1 deletion corral/semver/range/range.pony
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Range is (Equatable[Range] & Stringable)
end
true

fun string(): String iso^ =>
fun string(): String =>
(recover String() end)
.> append(from.string() + " ")
.> append(
Expand Down
2 changes: 1 addition & 1 deletion corral/semver/solver/_conflict_snapshot.pony
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class _ConflictSnapshot is Stringable
constraint = constraint'
parent = parent'

fun string(): String iso^ =>
fun string(): String =>
let result = recover String end

let activated = Array[String]
Expand Down
2 changes: 1 addition & 1 deletion corral/semver/solver/artifact.pony
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Artifact is
fun hash(): USize =>
name.hash() xor version.hash()

fun string(): String iso^ =>
fun string(): String =>
(recover String() end)
.> append(name + " @ "
+ version.string() + " -> ["
Expand Down
2 changes: 1 addition & 1 deletion corral/semver/solver/constraint.pony
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Constraint is Stringable
artifact_name = artifact_name'
range = range'

fun string(): String iso^ =>
fun string(): String =>
(recover String() end)
.> append(
artifact_name + " ["
Expand Down
2 changes: 1 addition & 1 deletion corral/semver/version/version.pony
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Version is
fun is_valid(): Bool =>
errors.size() == 0

fun string(): String iso^ =>
fun string(): String =>
// we always need at least 5 chars ("0.0.0")
let result = recover String(5) end

Expand Down
Loading