Skip to content

Commit

Permalink
Merge pull request tsoding#11 from kolumb/8
Browse files Browse the repository at this point in the history
(tsoding#8) Copy CI from tsoding/something repo
  • Loading branch information
rexim authored Oct 19, 2020
2 parents 1c15a5e + 33f76d5 commit b6583dd
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI
on: [push, pull_request]

jobs:
build-linux-gcc:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -qq libsdl2-dev
- name: build the game
run: |
make
env:
CC: gcc
build-linux-clang:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -qq libsdl2-dev
- name: build the game
run: |
make
env:
CC: clang
build-macos:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- name: install dependencies
run: brew install sdl2 pkg-config
- name: build the game
run: |
make
env:
CC: clang
# TODO(#14): there is no build for Windows
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://github.com/tsoding/sowon/workflows/CI/badge.svg)](https://github.com/tsoding/sowon/actions)

# Sowon

![demo](./demo.gif)
Expand Down

0 comments on commit b6583dd

Please sign in to comment.