Add CI
This commit is contained in:
23
.github/workflows/build-and-test.yml
vendored
Normal file
23
.github/workflows/build-and-test.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Build and test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: make (BUILD=debug)
|
||||
run: make
|
||||
|
||||
- name: make (BUILD=release)
|
||||
run: make BUILD=release
|
||||
|
||||
- name: Run tests
|
||||
run: ./test.sh
|
||||
Reference in New Issue
Block a user