Skip to content

Commit

Permalink
GitHub continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
J.W committed Feb 23, 2022
1 parent 18ea722 commit 30c9af7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# https://github.com/actions/checkout
# https://docs.github.com/actions/using-workflows

name: 'GitHub Continuous Integration'

on: [push, pull_request]

jobs:
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew install pkg-config sdl2
- name: Build & Test
run: make all test

ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get install pkg-config libsdl2-dev
- name: Build & Test
run: make all test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
CC = clang -std=c99
CPPFLAGS = -MMD -MP -DSYNTH_LIB_ALONE
CFLAGS = -Wall -Wextra -pedantic -O3
LDFLAGS =
LDFLAGS = -lm
LDLIBS =
# PREFIX = /usr/local

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![](https://github.com/61315/resynthesizer/actions/workflows/test.yml/badge.svg)](https://github.com/61315/resynthesizer/actions/workflows/test.yml)

# resynthesizer

WIP
Expand Down

0 comments on commit 30c9af7

Please sign in to comment.