-
Notifications
You must be signed in to change notification settings - Fork 222
49 lines (45 loc) · 1.08 KB
/
ci.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
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- '*'
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
mac:
name: macOS
runs-on: macOS-13
steps:
- uses: actions/checkout@v4
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v2
- name: LFS pull
run: git lfs pull
- name: Install Postgres
run: brew install postgresql@15
- name: Link Postgres
run: brew link postgresql@15
- name: Start Postgres
run: brew services start postgresql@15
- name: Select Xcode 15.2
run: sudo xcode-select -s /Applications/Xcode_15.2.app
- name: Bootstrap
run: make bootstrap
- name: Run tests
run: make test
ubuntu:
name: Ubuntu
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: 'sudo apt-get --fix-missing update && sudo apt-get install -y wamerican'
- name: Bootstrap
run: make bootstrap-client
- name: Run tests
run: make test-server-linux