Files
tikker/.github/workflows/build.yml
T
retoor 1ad8901f3e
Build / build-linux (push) Failing after 22s
Build / build-clang (push) Failing after 1m32s
Tests / test (push) Failing after 1m47s
Build / build-macos (push) Has been cancelled
Update.
2025-11-29 00:50:53 +01:00

72 lines
1.5 KiB
YAML

name: Build
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential sqlite3 libsqlite3-dev
- name: Build library
run: make build-lib
- name: Build tools
run: make build-tools
- name: Check binaries exist
run: |
test -f build/bin/tikker-decoder
test -f build/bin/tikker-indexer
test -f build/bin/tikker-aggregator
test -f build/bin/tikker-report
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
brew install sqlite3
- name: Build library
run: make build-lib
- name: Build tools
run: make build-tools
- name: Check binaries exist
run: |
test -f build/bin/tikker-decoder
test -f build/bin/tikker-indexer
test -f build/bin/tikker-aggregator
test -f build/bin/tikker-report
build-clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y clang sqlite3 libsqlite3-dev
- name: Build with Clang
run: make build-lib CC=clang
env:
CFLAGS: "-Wall -Wextra -pedantic -std=c11 -O2"