Skip to content

Commit 47f9a27

Browse files
committed
add ci
1 parent 5793e7c commit 47f9a27

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, master]
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Setup Carp
20+
uses: carpentry-org/setup-carp@v1
21+
22+
- name: Build raytracer library
23+
run: carp -b raytracer/render.carp
24+
25+
- name: Build raytracer example
26+
run: carp -b raytracer/ex.carp

raytracer/render.carp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(load "Vector.carp")
22

3-
(load "https://github.com/carpentry-org/file@0.0.5")
3+
(load "https://github.com/carpentry-org/file@master")
44

55
(defmodule Double
66
(register MAX Double "DBL_MAX")

0 commit comments

Comments
 (0)