-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 932 Bytes
/
ci.yml
File metadata and controls
37 lines (34 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: luajit.cr CI
on:
push:
branches: [master]
pull_request:
branches: "*"
jobs:
linux-specs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install LuaJIT
run: sudo apt-get install luajit-5.1-dev
- uses: crystal-lang/install-crystal@v1
with:
crystal: 1.17
- name: Run tests
run: crystal spec
# TODO: Fix
# windows-specs:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - uses: crystal-lang/install-crystal@v1
# - uses: ilammy/msvc-dev-cmd@v1
# - name: Build LuaJIT for Windows
# run: .\scripts\build.ps1
# - name: Run tests
# run: crystal spec
# - name: "Run tests w/ dynamic linking (experimental)"
# continue-on-error: true
# run: |
# $env:PATH += ";$(Get-Location)\ext\luajit"
# crystal spec -Dpreview_dll