Skip to content

Update to using Crystal 1.9.2 #60

Update to using Crystal 1.9.2

Update to using Crystal 1.9.2 #60

Workflow file for this run

name: Crystal CI
on:
workflow_dispatch:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-2019
steps:
- name: Install Crystal 1.9.2
shell: pwsh
run: |
(New-Object Net.WebClient).DownloadFile("https://github.com/crystal-lang/crystal/releases/download/1.9.2/crystal-1.9.2-windows-x86_64-msvc-unsupported.exe", "$PWD\crystal-1.9.2-windows-x86_64-msvc-unsupported.exe")
$code = Start-Process .\crystal-1.9.2-windows-x86_64-msvc-unsupported.exe -Wait -ArgumentList "/VERYSILENT","/SP-","/SUPPRESSMSGBOXES","/LOG=$PWD\OUTPUT.LOG" -Verb RunAs
dir $env:LOCALAPPDATA\Programs\Crystal
- name: crystal version
shell: pwsh
run: |
& "$env:LOCALAPPDATA\Programs\Crystal\crystal.exe" version
- uses: actions/checkout@v3
- name: Install dependencies
shell: pwsh
run: |
& "$env:LOCALAPPDATA\Programs\Crystal\shards.exe" install
- name: Run tests
shell: pwsh
run: |
& "$env:LOCALAPPDATA\Programs\Crystal\crystal.exe" spec --error-trace --debug