Skip to content

Commit 89301e6

Browse files
committed
Add CI
1 parent 3f8bb28 commit 89301e6

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ci
2+
3+
on:
4+
push
5+
6+
jobs:
7+
build-and-run:
8+
strategy:
9+
matrix:
10+
os: [ubuntu-22.04, ubuntu-24.04]
11+
runs-on: ${{ matrix.os }}
12+
steps:
13+
- uses: actions/checkout@v6
14+
- shell: bash
15+
run: |
16+
sudo apt-get -q update
17+
sudo apt-get install -yq \
18+
musl-dev
19+
- uses: dlang-community/setup-dlang@v2
20+
with:
21+
compiler: ldc
22+
- run: make build-ldc-runtime
23+
- run: make run

0 commit comments

Comments
 (0)