This commit is contained in:
pancake committed 2021-03-21 02:02:12 +01:00
1 parent 92923ebf64
commit 36de8f16bd
1 file changed
+49
+49
View File
@@ -0,0 +1,49 @@
name: ci
on:
push:
branches:
- master
pull_request:
jobs:
# build-windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# - name: Windows Dependencies
# run: pip install meson ninja
# - name: Building Sdb
# run: meson build && ninja -C build
# - name: Pub
# uses: actions/upload-artifact@v2
# with:
# path: build/*.exe
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Building
run: export CFLAGS="-Werror -Wall" && make
# - name: Packaging
# run: make -C dist/debian
- name: Running tests
run: make -C t
- name: Pub
uses: actions/upload-artifact@v2
with:
path: r0
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Building
run: make -j4
# - name: Packaging
# run: cd dist/macos && make && cd ../../..
- name: Running tests
run: make -C t
- name: Pub
uses: actions/upload-artifact@v2
with:
path: r0