forked from electrum/ssb-dbgen
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 961 Bytes
/
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:
pull_request:
push:
branches:
- master
jobs:
build:
name: ${{matrix.name}}
runs-on: ${{matrix.os}}
env:
CC: ${{matrix.cc}}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu-GCC
cc: gcc
os: ubuntu-latest
- name: Ubuntu-Clang
cc: clang
os: ubuntu-latest
- name: macOS-AppleClang
cc: clang
os: macos-latest
steps:
- uses: actions/checkout@v4
- name: System Information
run: |
awk -v a=$(uname) 'BEGIN { a == "Linux" ? system("cat /etc/issue") : system("sw_vers") }'
${CC} --version
- name: Make
run: |
make
- name: Generate SF 0.01 Data
run: |
mkdir generated_data && cd generated_data
../dbgen -f -s 0.01 -T a -b ../dists.dss