Skip to content

Commit

Permalink
Add tests and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Apr 15, 2023
1 parent 434ae63 commit 9dd53b9
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI
on: [push, pull_request]

jobs:
ubuntu-latest:
runs-on: ubuntu-latest

steps:
- name: Clone
uses: actions/checkout@v1
with:
submodules: true
- name: Dependencies
run: |
sudo apt-get update
sudo apt-get install build-essential
- name: Build
run: |
make libbinding.a
macOS-latest:
runs-on: macOS-latest

steps:
- name: Clone
uses: actions/checkout@v1
with:
submodules: true

- name: Dependencies
run: |
brew update
brew install sdl2
- name: Build
run: |
make libbinding.a

0 comments on commit 9dd53b9

Please sign in to comment.