-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (55 loc) · 1.38 KB
/
test.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Test
on:
workflow_dispatch:
push:
branch: "master"
pull_request:
types:
- "ready_for_review"
- "opened"
- "synchronize"
- "reopened"
jobs:
test-linux:
name: Test Linux
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt install lemon tcl
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Run tests
run: make test
test-windows:
name: Test Windows
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install bun
uses: oven-sh/setup-bun@v2
- uses: ilammy/msvc-dev-cmd@v1
- name: Run tests
run: nmake /f Makefile.vc test
test-macos:
name: Test macOS
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
brew install lemon
brew install tcl-tk
brew tap-new $USER/local-sqlite
brew extract --version=3.46.1 sqlite $USER/local-sqlite
brew install [email protected]
- name: Install bun
uses: oven-sh/setup-bun@v2
- name: Run tests
run: |
export SQLITE_LIB_PATH=/opt/homebrew/Cellar/[email protected]/3.46.1/lib/libsqlite3.dylib
make test