-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (42 loc) · 1.02 KB
/
build-synapse.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
on:
push:
branches:
- main
paths:
- "!.github/**"
- .github/workflows/build-synapse.yml
- src/**
- test/**
pull_request:
branches:
- main
paths:
- "!.github/**"
- .github/workflows/build-synapse.yml
- src/**
- test/**
jobs:
run_test:
strategy:
fail-fast: false
matrix:
include:
- os: macos-13
- os: macos-14
- os: ubuntu-latest
- os: windows-2022
runs-on: ${{ matrix.os }}
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- run: curl -fsSL https://synap.sh/install | bash
if: matrix.os != 'windows-2022'
- run: irm https://synap.sh/install.ps1 | iex
if: matrix.os == 'windows-2022'
- run: synapse --version
- run: synapse compile
- run: synapse run testFixtures
if: matrix.os != 'windows-2022' # TODO: need bash to run the fixture tests
- run: synapse build
- run: ./dist/bin/synapse