Skip to content

Commit

Permalink
Merge pull request #643 from theseion/add-pharo-13
Browse files Browse the repository at this point in the history
feat: add PharoXX-13 image selection
  • Loading branch information
theseion committed May 26, 2024
2 parents 2979469 + f35fc8f commit cdd3710
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- Squeak32-4.5
- Pharo64-stable
- Pharo64-alpha
- Pharo64-13
- Pharo64-12
- Pharo64-11
- Pharo64-10
Expand Down
12 changes: 12 additions & 0 deletions pharo/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ pharo::get_image_url() {
"Pharo64-stable"|"Pharo-stable")
echo "get.pharo.org/64/stable"
;;
"Pharo64-13")
echo "get.pharo.org/64/130"
;;
"Pharo64-12")
echo "get.pharo.org/64/120"
;;
Expand Down Expand Up @@ -51,6 +54,9 @@ pharo::get_image_url() {
"Pharo32-stable")
echo "get.pharo.org/stable"
;;
"Pharo32-13")
echo "get.pharo.org/32/130"
;;
"Pharo32-12")
echo "get.pharo.org/32/120"
;;
Expand Down Expand Up @@ -156,6 +162,9 @@ pharo::get_vm_url() {
"Pharo64-stable"|"Pharo-stable")
echo "get.pharo.org/64/vm${stable_version}0"
;;
"Pharo64-13")
echo "get.pharo.org/64/vm130"
;;
"Pharo64-12")
echo "get.pharo.org/64/vm120"
;;
Expand Down Expand Up @@ -186,6 +195,9 @@ pharo::get_vm_url() {
"Pharo32-stable")
echo "get.pharo.org/vm${stable_version}0"
;;
"Pharo32-13")
echo "get.pharo.org/vm130"
;;
"Pharo32-12")
echo "get.pharo.org/vm120"
;;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
testing
testAddLoadedClassesFrom
| gofer |
| goferClass gofer |
goferClass := Smalltalk
at: #Gofer
ifAbsent: [ ^ self ].

self assert: true equals: (self spec loadedClasses isEmpty).

gofer := Gofer new
gofer := goferClass new
package: 'SmalltalkCI-Core';
package: 'SmalltalkCI-Tests'.
self spec addLoadedClassesFrom: gofer references.
Expand Down
6 changes: 6 additions & 0 deletions tests/pharo_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ test_get_vm_url() {
vm_url="$(pharo::get_vm_url "Pharo64-stable")"
assertEquals "get.pharo.org/64/vm120" "${vm_url}"

vm_url="$(pharo::get_vm_url "Pharo64-13")"
assertEquals "get.pharo.org/64/vm130" "${vm_url}"

vm_url="$(pharo::get_vm_url "Pharo64-12")"
assertEquals "get.pharo.org/64/vm120" "${vm_url}"

Expand All @@ -106,6 +109,9 @@ test_get_vm_url() {
assertEquals "get.pharo.org/64/vm80" "${vm_url}"


vm_url="$(pharo::get_vm_url "Pharo32-13")"
assertEquals "get.pharo.org/vm130" "${vm_url}"

vm_url="$(pharo::get_vm_url "Pharo32-12")"
assertEquals "get.pharo.org/vm120" "${vm_url}"

Expand Down

0 comments on commit cdd3710

Please sign in to comment.