From 4bab6788b92d6e08d639c0ceeb1c30ddbaf93bb9 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:12:35 +0200 Subject: [PATCH 01/39] Create ci.yml --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ef03069 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + test: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + + - name: Download Pharo + run: | + Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip + dir From d27ddfe1ae69794870333c2495ac1b205d2dae80 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:19:41 +0200 Subject: [PATCH 02/39] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef03069..2eb9da2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,5 +20,6 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip + Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip pharo-vm-Windows-x86_64-stable.zip + unzip pharo-vm-Windows-x86_64-stable.zip dir From 402193b36debd34f553de20f991b05b7f877df56 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:21:01 +0200 Subject: [PATCH 03/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2eb9da2..cd40cd8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,6 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip pharo-vm-Windows-x86_64-stable.zip + Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip -OutFile pharo-vm-Windows-x86_64-stable.zip unzip pharo-vm-Windows-x86_64-stable.zip dir From 1d93be2ae71dba38b44001d6e3636300f0661c01 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:23:24 +0200 Subject: [PATCH 04/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd40cd8..ce8c08c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,5 +21,5 @@ jobs: - name: Download Pharo run: | Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip -OutFile pharo-vm-Windows-x86_64-stable.zip - unzip pharo-vm-Windows-x86_64-stable.zip + unzip pharo-vm-Windows-x86_64-stable.zip -d pharo-vm dir From 7a859b811651883375b8588cfe66e4b72b735fa0 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:26:50 +0200 Subject: [PATCH 05/39] Update ci.yml --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce8c08c..a558759 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip -OutFile pharo-vm-Windows-x86_64-stable.zip - unzip pharo-vm-Windows-x86_64-stable.zip -d pharo-vm + Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip -OutFile pharo-vm.zip + Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharoImage-x86_64.zip -OutFile image.zip + unzip pharo-vm.zip -d pharo-vm + unzip image.zip dir From f766a2f65cacf8e23e9e8a9769f0e5dd43eea1d3 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:37:36 +0200 Subject: [PATCH 06/39] Update ci.yml --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a558759..04c4844 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,4 +24,9 @@ jobs: Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharoImage-x86_64.zip -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip - dir + + - name: Load project into image + run: pharo Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + + - name: Run tests + run: pharo Pharo.image test --junit-xml-output "OSWinSubprocess.*" From f5600adeab0584e329f82e15764bea49cdf72f8f Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:39:41 +0200 Subject: [PATCH 07/39] Update ci.yml --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04c4844..ee8d678 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,8 @@ jobs: unzip image.zip - name: Load project into image - run: pharo Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + run: | + pharo Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - name: Run tests run: pharo Pharo.image test --junit-xml-output "OSWinSubprocess.*" From 83fc137f277027e5de8341d28ffa3dca4fccac84 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:41:44 +0200 Subject: [PATCH 08/39] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee8d678..230e624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - name: Load project into image run: | - pharo Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - name: Run tests - run: pharo Pharo.image test --junit-xml-output "OSWinSubprocess.*" + run: pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" From 223ff012ae8063c48c360118ae4ee6a8d39b7e25 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:45:06 +0200 Subject: [PATCH 09/39] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 230e624..10498b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - name: Load project into image run: | - pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - name: Run tests - run: pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" + run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" From 5bac751bfee0ca8d28b29bab8f41c1b25b5b5c5e Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:50:07 +0200 Subject: [PATCH 10/39] Update ci.yml --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 10498b5..ddb9869 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,9 @@ jobs: Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharoImage-x86_64.zip -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip + Get-ChildItem -Path "C:\path\to\directory" -Filter "Pharo*.image" | ForEach-Object { + Rename-Item $_.FullName -NewName "Pharo.image" + } - name: Load project into image run: | From 05c834009f3b8d59383c90f350ea973da03ab3c6 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:51:34 +0200 Subject: [PATCH 11/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddb9869..1244b95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharoImage-x86_64.zip -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip - Get-ChildItem -Path "C:\path\to\directory" -Filter "Pharo*.image" | ForEach-Object { + Get-ChildItem -Path . -Filter "Pharo*.image" | ForEach-Object { Rename-Item $_.FullName -NewName "Pharo.image" } From 9448caaafbacb7f91ddbae5fdc862d8a5376e7f2 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 14:55:06 +0200 Subject: [PATCH 12/39] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1244b95..24078dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: - name: Load project into image run: | + dir pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - name: Run tests From 7e705e8edc3b826a120cb1d78f270d17825f465a Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 15:09:06 +0200 Subject: [PATCH 13/39] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24078dd..308ea0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: - name: Load project into image run: | dir + pharo-vm\Pharo.exe Pharo.image eval "FileLocator workingDirectory fullName" pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - name: Run tests From f5b98fce58cae1da84dbf589f716afd733322e68 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 15:14:25 +0200 Subject: [PATCH 14/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 308ea0b..3f738de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Load project into image run: | dir - pharo-vm\Pharo.exe Pharo.image eval "FileLocator workingDirectory fullName" + pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir: ', FileLocator workingDirectory fullName" pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - name: Run tests From b45e09f69070d8af6c61ef30396c05db95977da9 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 16:26:18 +0200 Subject: [PATCH 15/39] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3f738de..6ec2db6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: run: | dir pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir: ', FileLocator workingDirectory fullName" - pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + # pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - - name: Run tests - run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" + # - name: Run tests + # run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" From a304069fff24b77a9a57494d4e6c067c4c7613a6 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 16:34:24 +0200 Subject: [PATCH 16/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ec2db6..c30ce97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Load project into image run: | dir - pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir: ', FileLocator workingDirectory fullName" + pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (FileLocator workingDirectory / src) files" # pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" # - name: Run tests From 12cfbec6bfd619fd62f06049fd1e2d10f316e763 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 23:15:11 +0200 Subject: [PATCH 17/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c30ce97..7ef92d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Load project into image run: | dir - pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (FileLocator workingDirectory / src) files" + pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (FileLocator workingDirectory / 'src') files" # pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" # - name: Run tests From 1875ad1ed2c8e9819783810a4a3721faf83fafc2 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 23:21:38 +0200 Subject: [PATCH 18/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ef92d9..a11ce7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Load project into image run: | dir - pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (FileLocator workingDirectory / 'src') files" + pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') files)" # pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" # - name: Run tests From 4f22a9c35c2c8fe98dcce013b324d817756c5c98 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 23:25:23 +0200 Subject: [PATCH 19/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a11ce7e..dce9788 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Load project into image run: | dir - pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') files)" + pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" # pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" # - name: Run tests From 8ac88a5547efa0cc2a20c9912d61b5440b84641c Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 23:33:18 +0200 Subject: [PATCH 20/39] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dce9788..8b77ea2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Download Pharo run: | From 82bbb3730b8c71e674ab78574389d3d325ab5be4 Mon Sep 17 00:00:00 2001 From: demarey Date: Tue, 8 Oct 2024 23:35:27 +0200 Subject: [PATCH 21/39] Update ci.yml --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b77ea2..d736107 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: run: | dir pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" - # pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" - # - name: Run tests - # run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" + - name: Run tests + run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" From 8871c6d325fa7e62e4e9136eb16d6b68faa547a6 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:15:22 +0200 Subject: [PATCH 22/39] Update ci.yml --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d736107..57a9ccd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +env: + PHARO_VERSION: 13 + PHARO_FILES_URL: "https://files.pharo.org/get-files/${{PHARO_VERSION}}0" + jobs: test: runs-on: windows-latest @@ -22,8 +26,8 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharo-vm-Windows-x86_64-stable.zip -OutFile pharo-vm.zip - Invoke-WebRequest -Uri https://files.pharo.org/get-files/130/pharoImage-x86_64.zip -OutFile image.zip + Invoke-WebRequest -Uri $env:PHARO_FILES_URL+"/pharo-vm-Windows-x86_64-stable.zip" -OutFile pharo-vm.zip + Invoke-WebRequest -Uri $env:PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip Get-ChildItem -Path . -Filter "Pharo*.image" | ForEach-Object { From 57ef4cbd8176b019c059dadc4f133c1507df28de Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:17:44 +0200 Subject: [PATCH 23/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57a9ccd..748102c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: env: PHARO_VERSION: 13 - PHARO_FILES_URL: "https://files.pharo.org/get-files/${{PHARO_VERSION}}0" + PHARO_FILES_URL: "https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" jobs: test: From 2fa5bd679d19a985beb3bd780367b688ee85f6d7 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:20:47 +0200 Subject: [PATCH 24/39] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 748102c..6edc195 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,14 @@ on: env: PHARO_VERSION: 13 - PHARO_FILES_URL: "https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" jobs: test: runs-on: windows-latest + env: + PHARO_FILES_URL: "https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" + steps: - uses: actions/checkout@v4 with: From dd46dbdc4e5eece0993b7cb35f4c6c8dec5ce53b Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:24:21 +0200 Subject: [PATCH 25/39] Update ci.yml --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6edc195..61b2c65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,11 @@ jobs: test: runs-on: windows-latest - env: - PHARO_FILES_URL: "https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" - steps: + - name: Configure environment variables + run: | + echo "PHARO_FILES_URL=https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" >> $GITHUB_ENV + - uses: actions/checkout@v4 with: fetch-depth: 0 From de434baa18554062407d07b979114883292db170 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:28:54 +0200 Subject: [PATCH 26/39] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61b2c65..0e90411 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,8 +29,8 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri $env:PHARO_FILES_URL+"/pharo-vm-Windows-x86_64-stable.zip" -OutFile pharo-vm.zip - Invoke-WebRequest -Uri $env:PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip + Invoke-WebRequest -Uri $PHARO_FILES_URL+"/pharo-vm-Windows-x86_64-stable.zip" -OutFile pharo-vm.zip + Invoke-WebRequest -Uri $PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip Get-ChildItem -Path . -Filter "Pharo*.image" | ForEach-Object { From 8476dd4749d6d7845ff94ca17c07c6420af590dd Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:31:19 +0200 Subject: [PATCH 27/39] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e90411..2ee6a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,8 +29,8 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri $PHARO_FILES_URL+"/pharo-vm-Windows-x86_64-stable.zip" -OutFile pharo-vm.zip - Invoke-WebRequest -Uri $PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip + Invoke-WebRequest -Uri $Env:PHARO_FILES_URL+"/pharo-vm-Windows-x86_64-stable.zip" -OutFile pharo-vm.zip + Invoke-WebRequest -Uri $Env:PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip Get-ChildItem -Path . -Filter "Pharo*.image" | ForEach-Object { From a4fee533e3bf1c8caca9013d3be376ac7b530277 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:37:20 +0200 Subject: [PATCH 28/39] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ee6a2a..0d5092c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,9 @@ jobs: - name: Download Pharo run: | - Invoke-WebRequest -Uri $Env:PHARO_FILES_URL+"/pharo-vm-Windows-x86_64-stable.zip" -OutFile pharo-vm.zip + $url = $Env:PHARO_FILES_URL + "/pharo-vm-Windows-x86_64-stable.zip" + echo $url + Invoke-WebRequest -Uri $url -OutFile pharo-vm.zip Invoke-WebRequest -Uri $Env:PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip From e990bde78505c7f30ac1d0678802f8b5f76659c4 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:42:22 +0200 Subject: [PATCH 29/39] Update ci.yml --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d5092c..2083f9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,8 @@ jobs: - name: Download Pharo run: | + echo $Env:PHARO_FILES_URL + echo $env:PHARO_FILES_URL $url = $Env:PHARO_FILES_URL + "/pharo-vm-Windows-x86_64-stable.zip" echo $url Invoke-WebRequest -Uri $url -OutFile pharo-vm.zip From 0faf54c4a6d864a3e4f7e1662d5282a60cd2ab85 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:43:42 +0200 Subject: [PATCH 30/39] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2083f9e..66b0cf4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: run: | echo $Env:PHARO_FILES_URL echo $env:PHARO_FILES_URL + echo $PHARO_FILES_URL $url = $Env:PHARO_FILES_URL + "/pharo-vm-Windows-x86_64-stable.zip" echo $url Invoke-WebRequest -Uri $url -OutFile pharo-vm.zip From 8a576eae7932e60e2dd8f84d63f62b4b8253eb0b Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 10:44:51 +0200 Subject: [PATCH 31/39] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66b0cf4..723d0b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: - name: Download Pharo run: | + echo $Env:PHARO_VERSION echo $Env:PHARO_FILES_URL echo $env:PHARO_FILES_URL echo $PHARO_FILES_URL From 66981e7a53d0533dbf7270f2c57ca695ee36e371 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 11:44:55 +0200 Subject: [PATCH 32/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 723d0b2..c7955e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Configure environment variables run: | - echo "PHARO_FILES_URL=https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" >> $GITHUB_ENV + echo "PHARO_FILES_URL=https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" >> $env:GITHUB_ENV - uses: actions/checkout@v4 with: From 3bd4374bc7a9a1ffd62ea96c967640b91bb36ca0 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 11:47:43 +0200 Subject: [PATCH 33/39] Update ci.yml --- .github/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7955e3..4b1b564 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,14 +29,10 @@ jobs: - name: Download Pharo run: | - echo $Env:PHARO_VERSION - echo $Env:PHARO_FILES_URL - echo $env:PHARO_FILES_URL - echo $PHARO_FILES_URL $url = $Env:PHARO_FILES_URL + "/pharo-vm-Windows-x86_64-stable.zip" - echo $url Invoke-WebRequest -Uri $url -OutFile pharo-vm.zip - Invoke-WebRequest -Uri $Env:PHARO_FILES_URL+"/pharoImage-x86_64.zip" -OutFile image.zip + $url = $Env:PHARO_FILES_URL + "/pharoImage-x86_64.zip" + Invoke-WebRequest -Uri $url -OutFile image.zip unzip pharo-vm.zip -d pharo-vm unzip image.zip Get-ChildItem -Path . -Filter "Pharo*.image" | ForEach-Object { From 129cc86a79f30995b08329858ccc648055ce5608 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 12:09:20 +0200 Subject: [PATCH 34/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b1b564..331dd3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: | dir pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" - pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load" + pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load. PackageOrganizer default packages select: [ :pkg | pkg name beginsWith: 'OSWinSubprocess' ] thenCollect: #name" - name: Run tests run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" From efe468f523b57a37ff974a8098cd6e34a732f1a4 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 12:19:21 +0200 Subject: [PATCH 35/39] Update ci.yml --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 331dd3e..6236864 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,3 +47,10 @@ jobs: - name: Run tests run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" + + - name: Upload test results + uses: actions/upload-artifact@v4 + if: success() || failure() # run this step even if previous step failed + with: + name: test-results + path: jest-junit.xml From 600e3449e14c473213fc9416ed377605492565e3 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 12:27:50 +0200 Subject: [PATCH 36/39] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6236864..ade44af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,4 +53,4 @@ jobs: if: success() || failure() # run this step even if previous step failed with: name: test-results - path: jest-junit.xml + path: ./*-Test.xml From 5c773eda14d3e2c4a05bb8fcbeda7a43dddae2d3 Mon Sep 17 00:00:00 2001 From: demarey Date: Wed, 9 Oct 2024 17:29:18 +0200 Subject: [PATCH 37/39] use pharo gh action --- .github/workflows/ci.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ade44af..fe954dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,25 +19,14 @@ jobs: runs-on: windows-latest steps: - - name: Configure environment variables - run: | - echo "PHARO_FILES_URL=https://files.pharo.org/get-files/${{ env.PHARO_VERSION }}0" >> $env:GITHUB_ENV - - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Download Pharo - run: | - $url = $Env:PHARO_FILES_URL + "/pharo-vm-Windows-x86_64-stable.zip" - Invoke-WebRequest -Uri $url -OutFile pharo-vm.zip - $url = $Env:PHARO_FILES_URL + "/pharoImage-x86_64.zip" - Invoke-WebRequest -Uri $url -OutFile image.zip - unzip pharo-vm.zip -d pharo-vm - unzip image.zip - Get-ChildItem -Path . -Filter "Pharo*.image" | ForEach-Object { - Rename-Item $_.FullName -NewName "Pharo.image" - } + - uses: demarey/pharo-setup-gha@main + with: + version: 13 + name: Download Pharo - name: Load project into image run: | From b270b5ce8bcc43721764ce7bc21f48e4b3aaa98d Mon Sep 17 00:00:00 2001 From: demarey Date: Fri, 11 Oct 2024 15:47:42 +0200 Subject: [PATCH 38/39] run test on P12 and P13 --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe954dc..1efbeaf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,13 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -env: - PHARO_VERSION: 13 - jobs: test: + strategy: + fail-fast: false + matrix: + version: [12, 13] + runs-on: windows-latest steps: @@ -31,11 +33,11 @@ jobs: - name: Load project into image run: | dir - pharo-vm\Pharo.exe Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" - pharo-vm\Pharo.exe Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load. PackageOrganizer default packages select: [ :pkg | pkg name beginsWith: 'OSWinSubprocess' ] thenCollect: #name" + $PHARO Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" + $PHARO Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load. PackageOrganizer default packages select: [ :pkg | pkg name beginsWith: 'OSWinSubprocess' ] thenCollect: #name" - name: Run tests - run: pharo-vm\Pharo.exe Pharo.image test --junit-xml-output "OSWinSubprocess.*" + run: $PHARO Pharo.image test --junit-xml-output "OSWinSubprocess.*" - name: Upload test results uses: actions/upload-artifact@v4 From f23dcb1f9f79a0edf901336a8dfc87c101ab7f9d Mon Sep 17 00:00:00 2001 From: demarey Date: Fri, 11 Oct 2024 15:59:01 +0200 Subject: [PATCH 39/39] Update ci.yml --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1efbeaf..87231c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,11 +33,12 @@ jobs: - name: Load project into image run: | dir - $PHARO Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" - $PHARO Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load. PackageOrganizer default packages select: [ :pkg | pkg name beginsWith: 'OSWinSubprocess' ] thenCollect: #name" + & "$Env:PHARO" Pharo.image eval "'Pharo working dir content: ', (Character space join: (FileLocator workingDirectory / 'src') entries)" + & "$Env:PHARO" Pharo.image eval --save "Metacello new baseline: 'OSWinSubprocess'; repository: 'gitlocal://src'; ignoreImage; onConflictUseIncoming; onWarning: [:ex | ex load]; load. PackageOrganizer default packages select: [ :pkg | pkg name beginsWith: 'OSWinSubprocess' ] thenCollect: #name" - name: Run tests - run: $PHARO Pharo.image test --junit-xml-output "OSWinSubprocess.*" + run: | + & "$Env:PHARO" Pharo.image test --junit-xml-output "OSWinSubprocess.*" - name: Upload test results uses: actions/upload-artifact@v4