Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Windows Rakudo Star Installation #690

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
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
14 changes: 9 additions & 5 deletions .github/workflows/exercises.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-22.04', 'macos-14']
os: ['ubuntu-22.04', 'macos-14', 'windows-2022']
name: Rakudo Star on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11

- name: Install Rakudo Star with choco
- name: Install Rakudo Star with msiexec
if: runner.os == 'Windows'
run: >
choco install rakudostar;
echo "C:\rakudo\bin;C:\rakudo\share\perl6\site\bin"
| Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
$file = "rakudo-star.msi";
Invoke-WebRequest https://rakudo.org/latest/star/win -OutFile "$file";
$log = "install.log";
$procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru;
$procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru;
$procMain.WaitForExit();
$procLog.Kill();

- name: Install Rakudo Star with brew
if: runner.os == 'macOS'
Expand Down
Loading