mirror of
https://github.com/radareorg/r0.git
synced 2026-11-07 06:25:57 -10:00
Add ci
This commit is contained in:
1 parent
92923ebf64
commit
36de8f16bd
1 file changed
+49
@@ -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
|
||||
Reference in new issue
Block a user