mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
add CI action
This commit is contained in:
parent
1ac30300f0
commit
0381f14acc
@ -1,16 +0,0 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: circleci/buildpack-deps
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Install dependency
|
||||
command: sudo apt-get install -y tcl
|
||||
- run:
|
||||
name: Build
|
||||
command: make
|
||||
- run:
|
||||
name: Test
|
||||
command: make test
|
14
.github/pull.yml
vendored
14
.github/pull.yml
vendored
@ -1,14 +0,0 @@
|
||||
version: "1"
|
||||
rules:
|
||||
- base: unstable
|
||||
upstream: antirez:unstable
|
||||
mergeMethod: merge
|
||||
- base: 5.0
|
||||
upstream: antirez:5.0
|
||||
mergeMethod: merge
|
||||
- base: 4.0
|
||||
upstream: antirez:4.0
|
||||
mergeMethod: merge
|
||||
- base: 3.2
|
||||
upstream: antirez:3.2
|
||||
mergeMethod: merge
|
28
.github/workflows/ci.yml
vendored
Normal file
28
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-ubuntu:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-latest, ubuntu-16.04]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: make
|
||||
run: make
|
||||
- name: test
|
||||
run: |
|
||||
sudo apt-get install tcl8.5
|
||||
make test
|
||||
|
||||
build-macos-latest:
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [macos-latest, macOS-10.14]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: make
|
||||
run: make
|
Loading…
Reference in New Issue
Block a user