-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (34 loc) · 1 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Testing
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
mruby_version: [2.1.2]
libseccomp_version: [2.3.1, 2.5.1]
experimental: [false]
include:
- mruby_version: 3.0.0-preview
libseccomp_version: 2.5.1
experimental: true
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build a Container
run: |
docker build -t haconiwa/mruby-seccomp misc/
- name: Run Build and Test
run: |
/bin/bash -c \
"docker run --privileged \
--pid=host \
-v $(pwd):/mruby-seccomp \
-e MRUBY_VERSION=${{ matrix.mruby_version }} \
-e MRB_SECCOMP_LIBVER=${{ matrix.libseccomp_version }} \
haconiwa/mruby-seccomp \
/bin/bash -c 'cd /mruby-seccomp && rake test'"
continue-on-error: ${{ matrix.experimental }}