File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : CI
1+ name : CI (Linux)
22
33on :
44 push :
99jobs :
1010 build :
1111
12- strategy :
13- fail-fast : false
14- matrix :
15- os : [ubuntu-latest, macos-latest]
16-
17- runs-on : ${{ matrix.os }}
12+ runs-on : ubuntu-latest
1813
1914 steps :
2015 - uses : actions/checkout@v4
21- - name : install packages (ubuntu)
22- if : runner.os == 'Linux'
16+ - name : install packages
2317 run : >
2418 sudo apt-get update && sudo apt-get install -y
2519 pkg-config libleveldb-dev libsnappy-dev libcurl4-openssl-dev
2620 libssl-dev libncurses-dev libcjson-dev
27- - name : install packages (macOS)
28- if : runner.os == 'macOS'
29- run : brew install pkg-config openssl leveldb snappy curl ncurses cjson
3021 - name : build (debug)
3122 run : make
3223 - name : test (fuzz + gcs)
3627 - name : build (release)
3728 run : make clean && make BUILD=release
3829 - name : build (asan+ubsan)
39- run : make clean && make BUILD=asan+ubsan
30+ run : make clean && make BUILD=asan+ubsan
Original file line number Diff line number Diff line change 1+ name : CI (macOS)
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : macos-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : install packages
17+ run : brew install pkg-config openssl leveldb snappy curl ncurses cjson
18+ - name : build (debug)
19+ run : make
20+ - name : test (fuzz + gcs)
21+ run : make check
22+ - name : build (strict warnings)
23+ run : make clean && make STRICT=1
24+ - name : build (release)
25+ run : make clean && make BUILD=release
26+ - name : build (asan+ubsan)
27+ run : make clean && make BUILD=asan+ubsan
Original file line number Diff line number Diff line change 1- [ ![ CI] ( https://github.com/mx4/bitc/actions/workflows/ci.yml/badge.svg )] ( https://github.com/mx4/bitc/actions/workflows/ci.yml )
1+ [ ![ CI (Linux)] ( https://github.com/mx4/bitc/actions/workflows/ci-linux.yml/badge.svg )] ( https://github.com/mx4/bitc/actions/workflows/ci-linux.yml )
2+ [ ![ CI (macOS)] ( https://github.com/mx4/bitc/actions/workflows/ci-macos.yml/badge.svg )] ( https://github.com/mx4/bitc/actions/workflows/ci-macos.yml )
23
34### BITC
45
You can’t perform that action at this time.
0 commit comments