Skip to content

Commit a3a6830

Browse files
committed
Add github actions
1 parent 581510c commit a3a6830

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
include:
15+
- os: ubuntu-latest
16+
- os: macos-latest
17+
runs-on: ${{ matrix.os }}
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Build & Test
21+
run: make examples test -j

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# extlib: c extended library
22

3+
[![Build](https://github.com/bamless/extlib/actions/workflows/build.yml/badge.svg)](https://github.com/bamless/extlib/actions/workflows/build.yml)
4+
35
extlib is a header-only library that implements common data structures and algorithms that are not
46
provided by the c standard library.
57

0 commit comments

Comments
 (0)