Skip to content

Commit 1530d47

Browse files
committed
build:First version of GitHub actions/workflows.
1 parent 1926193 commit 1530d47

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

.github/workflows/linux.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: linux
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
raku:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
raku-version:
19+
- 'latest'
20+
runs-on: ${{ matrix.os }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: Raku/setup-raku@v1
24+
with:
25+
raku-version: ${{ matrix.raku-version }}
26+
- name: Install Dependencies
27+
run: zef install --/test --test-depends --deps-only .
28+
- name: Install App::Prove6
29+
run: zef install --/test App::Prove6
30+
- name: Build EditDistance
31+
run: zef build .
32+
- name: Run Tests
33+
run: prove6 -I. t

.github/workflows/macos.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: macos
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
raku:
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os:
17+
- macos-latest
18+
raku-version:
19+
- 'latest'
20+
runs-on: ${{ matrix.os }}
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: Raku/setup-raku@v1
24+
with:
25+
raku-version: ${{ matrix.raku-version }}
26+
- name: Install Dependencies
27+
run: zef install --/test --test-depends --deps-only .
28+
- name: Install App::Prove6
29+
run: zef install --/test App::Prove6
30+
- name: Build EditDistance
31+
run: zef build .
32+
- name: Run Tests
33+
run: prove6 -I. t

0 commit comments

Comments
 (0)