Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try packit 2 #6

Open
wants to merge 204 commits into
base: criu-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
1609a34
crns.py: New attempt to have --unshare option
xemul Aug 3, 2016
ca5c93d
python: Replace xrange with range
rst0git Sep 23, 2018
226efaa
criu-ns: Convert to python3 style print() syntax
rst0git Apr 7, 2019
3f71897
criu-ns: Print usage info when no args provided
rst0git Apr 7, 2019
bfb051a
criu-ns: Convert c_char_p strings to bytes object
rst0git Apr 7, 2019
5329446
Add flog to CRIU
prakritigoyal19 Jun 7, 2020
e180172
flog: Missing varargs init or cleanup (VARARGS)
adrianreber Sep 28, 2020
265569a
criu-ns: Use PID 1 on restore
rst0git Oct 6, 2020
53dd29e
cr-restore: Wait child & reap zombies if PID=1
rst0git Oct 6, 2020
2ec05a0
compel: don't mmap parasite as RWX
mclapinski Oct 12, 2020
b80dd7e
lock: disable clang_analyzer for the LOCK_BUG_ON() macro
adrianreber Oct 13, 2020
e13a7ec
infect: initialize struct to avoid CLANG_WARNING
adrianreber Oct 13, 2020
6a9bff8
lib/py: remove unused variable
adrianreber Sep 29, 2020
bbca79a
coredump: remove two unused variables
adrianreber Sep 29, 2020
407d3fe
bfd: remove unused line
adrianreber Sep 29, 2020
eb74152
Use 'is None' instead of '== None'
adrianreber Sep 29, 2020
84ffb96
sk-unix: do not overwrite function parameter
adrianreber Sep 29, 2020
42e3e2e
autofs: Potential leak of memory pointed to by 'token'
adrianreber Oct 13, 2020
62ab67e
coverity: ignore CHECKED_RETURN
adrianreber Oct 13, 2020
36f9700
vdso-compat: let coverity know that the function does not return
adrianreber Oct 13, 2020
53501e5
cr-dump: Potential leak of memory pointed to by 'si'
adrianreber Oct 13, 2020
73ed071
restore: Value stored to 'ret' is never read
adrianreber Oct 13, 2020
fc20d28
coverity: fix parameter_hidden: declaration hides parameter
adrianreber Oct 13, 2020
5527329
dump: Potential leak of memory pointed to by 'si'
adrianreber Oct 13, 2020
d95c268
util: fix double_close false positive
adrianreber Oct 14, 2020
ef4ec32
cr-dump: get_service_fd() is passed to a parameter that cannot be neg…
adrianreber Oct 13, 2020
84df563
sk-unix: ignore coverity chroot() warning
adrianreber Oct 14, 2020
cec4325
coverity: img_raw_fd() returns a negative number
adrianreber Oct 14, 2020
2d290ee
namespaces: fix 'Declaring variable "path" without initializer'
adrianreber Oct 14, 2020
0e47308
CI: rename 'travis' to 'ci'
adrianreber Nov 3, 2020
50878f4
CI: distribute CI jobs between CI systems
adrianreber Nov 3, 2020
8722bf0
ci: 'fix' lazy tests
adrianreber Nov 7, 2020
953e87c
ci: fix lazy-pages test selection
rppt Nov 8, 2020
68585de
criu-ns: Remove unreachable statement
rst0git Nov 7, 2020
369e17b
travis: rename centos test to centos7
adrianreber Sep 30, 2020
4074042
ci: switch centos7 to github actions
adrianreber Nov 7, 2020
ffac3d6
ci: add CentOS 8 based CI run
adrianreber Sep 28, 2020
7e1f22b
uffd: fix 'double free detected in tcache 2'
adrianreber Nov 8, 2020
ab288c3
uffd: handle xrealloc() failure
adrianreber Nov 12, 2020
403741f
vdso: Let zero-terminator in vdso_symbol_length
0x7f454c46 Nov 11, 2020
56d3eab
compel/log: Stop parsing at unknown format specifier
0x7f454c46 Nov 11, 2020
0ecec99
compel/log: Provide %u specifier parsing
0x7f454c46 Nov 12, 2020
42a86db
tls: Add logging within send/recv callbacks
rst0git Nov 20, 2020
3cf87ed
ci: use graviton2 for arm64 tests on Travis
adrianreber Nov 4, 2020
430e464
CI: remove centos7 from Travis
adrianreber Nov 12, 2020
a813f86
ci: remove special handling for mips
adrianreber Nov 12, 2020
a667d57
cr-restore: Properly inspect status in sigchld_process()
0x7f454c46 Nov 11, 2020
87d007b
uffd: cleanup read error handling in handle_uffd_event
Snorch Nov 20, 2020
bc94f35
uffd: check for exited task when reading uffd_msg
rppt Nov 19, 2020
82f6518
zdtm: on fail with no error also print the tail of the log
Snorch Nov 20, 2020
9cc1f05
vim: remove wrong 8-space tabs indent from python files
Snorch Nov 20, 2020
55a8b09
docs: fix simple typo, clietn -> client
timgates42 Nov 29, 2020
b27c7e9
compel/handle-elf: override unexpected precalculated addresses
Snorch Dec 3, 2020
5db1657
cr-restore: make CLONE_NEWPID flag in clone_flags more consistent
Snorch Oct 27, 2020
c72901d
namespaces: make root_ns_mask more consistent
Snorch Oct 28, 2020
660e128
cr-restore: setup external pidns only for root task
Snorch Oct 28, 2020
a9d0873
others/ns_ext: restore a process out of PID namespaces into the host …
Snorch Nov 2, 2020
e0da8b8
x86/asm: fix compile error in bitops.h
anatasluo Dec 3, 2020
bde4e85
scripts/Docerfile.centos8: Use 'powertools' repo name
0x7f454c46 Dec 14, 2020
e403226
.gitignore: Remove qemu-user-static
0x7f454c46 Dec 14, 2020
ac9843b
CONTRIBUTING.md: add component prefix to the subject example
Snorch Dec 18, 2020
52bbac5
ci: add Circle CI definition
adrianreber Dec 16, 2020
944bd0b
ci: give an overview of the current CI environment
adrianreber Dec 20, 2020
cf8c88d
ci: move alpine based tests to github actions
adrianreber Dec 17, 2020
72fc2e8
namespaces: don't set rst on error in switch_ns_by_fd
Snorch Nov 10, 2020
5351b6e
ci: Alpine's busybox based free does not understand -h
adrianreber Dec 26, 2020
cb9c85f
test/zdtm_ct: Run zdtm.py in the host time namespace
avagin Dec 28, 2020
43023fe
zdtm: look up iptables in /sbin and /usr/sbin
avagin Jan 1, 2021
b4be97d
github: auto-close stale issues and pull requests
adrianreber Dec 31, 2020
f5a408c
dump/ppc64,arm,mips: sanitize the ERESTART_RESTARTBLOCK -> EINTR tran…
avagin Dec 31, 2020
61db62a
compel/test: Resolve missing includes
rst0git Jan 11, 2021
988b402
compel/test: Add main makefile
rst0git Jan 11, 2021
1b3274a
ci: Enable compel testing
rst0git Jan 11, 2021
cf0337c
compel: Fix missing loff_t in Alpine
rst0git Jan 11, 2021
0e7321c
compel/test: Fix warn_unused_result
rst0git Jan 12, 2021
4178bea
servicefd: don't move service fds in case they remain in the same place
Snorch Dec 15, 2020
3f047f1
util: move open_proc_self_fd to service_fd
Snorch Nov 10, 2020
56853fb
memfd: use PROC_SELF instead of getpid in __open_proc
Snorch Nov 6, 2020
8112e76
restore: warning: Value stored to 'ret' is never read
adrianreber Oct 13, 2020
3dc47b2
coverity: get_service_fd() is passed to a parameter that cannot be ne…
adrianreber Oct 14, 2020
41b4867
dump: at exit do not call timing_stop if stats are not initialized
valeriyvdovin Aug 26, 2020
504c032
mount: adjust log level for get_clean_mnt
azhadchenko Jul 3, 2020
d3b1d6e
mount: adjust log level for mnt_is_dir
azhadchenko Jul 3, 2020
2cf09cc
fsnotify: rework redundant code
azhadchenko Jul 3, 2020
11b3a1a
workflows/stale: Don't close issue that has labels 'new feature' or '…
avagin Jan 26, 2021
9807413
ci: move vagrant test to cirrus ci
adrianreber Nov 5, 2020
af1103f
zdtm: cleanup thread-bomb test error handling and printing
Snorch Jan 20, 2021
7766f12
ci: run aarch64 compile tests on Drone
adrianreber Nov 12, 2020
76f9ccc
ci: also use clang for compel-host-bin
adrianreber Dec 29, 2020
90f043d
namespaces: handle errors of snprintf
avagin Jan 21, 2021
7d63cea
util: zero the events pointer to avoid its double free
avagin Jan 21, 2021
098d4cc
zdtm: handle a case when a test vma is merged with another one
avagin Jan 27, 2021
d4b0f0f
ci: fix syntax error in stale.yml
adrianreber Jan 29, 2021
9ec1f1a
ci: upgrade vagrant and Fedora version
adrianreber Jan 29, 2021
8c89fbd
ci: skip bpf tests on vagrant
adrianreber Jan 31, 2021
442dc65
ci: factor out Fedora Rawhide CI setup
adrianreber Jan 31, 2021
41efd59
ci: move Fedora Rawhide based tests away from Travis
adrianreber Jan 31, 2021
b62707b
Tell podman to use vfs as storage-driver
adrianreber Jan 29, 2021
2cb1156
vdso: fix segmentation fault caused by char pointer array
anatasluo Jan 29, 2021
5792612
ci: move asan and image streamer test to github
adrianreber Feb 1, 2021
10cb852
README.md: remove trailing whitespaces
adrianreber Feb 1, 2021
4c3f324
README.md: remove unused badges; add a few new badges
adrianreber Feb 1, 2021
81c3c97
ci: move compat tests to Github Actions
adrianreber Feb 1, 2021
7a64074
dump: dump has to fail if there is locks and --file-locks isn't set
avagin Feb 1, 2021
3fb8cd3
test/zdtm: check that locks are not dumped if --file-locks isn't set
avagin Feb 1, 2021
042560a
ci: move coverage run to github
adrianreber Feb 1, 2021
9546f39
files: Don't forget on stripping deleted postfix on linked files
azhadchenko Jan 25, 2021
8d92d46
files-reg: rework strip_deleted
azhadchenko Jan 11, 2021
a4c000e
sk-unix: make criu respect existing files while restoring ghost unix …
azhadchenko Jan 11, 2021
82f2033
sk-unix: rework unix_resolve_name
azhadchenko Nov 9, 2020
903b903
zdtm: add fifo upon unix socket test case
azhadchenko Sep 17, 2020
1b5dbe5
zdtm: add second fifo_upon_unix test
azhadchenko Nov 9, 2020
42c2112
seccomp: initialize seccomp_mode in all cases
nviennot Feb 9, 2021
a277c84
ci: use runc instead of crun for podman tests
adrianreber Feb 17, 2021
2692215
file-lock: Add space in error message
rst0git Feb 19, 2021
89aa874
javaTests: Add --file-locks option
rst0git Feb 19, 2021
7a8f426
test: Reduce verbosity of mvn output
rst0git Feb 19, 2021
6110236
zdtm: Add javaTests output to .gitignore
rst0git Feb 19, 2021
42171ca
test: fix test compilation on rawhide
adrianreber Feb 17, 2021
950a88c
bug: add __builtin_unreachable in BUG_ON_HANDLER
avagin Feb 24, 2021
3397ac0
sk-unix: check whether a socket name is NULL before printing it
avagin Feb 24, 2021
ab395e4
plugin: check for plugin path truncation
Snorch Feb 25, 2021
168668e
ci: fix Fedora rawhide CI failures
adrianreber Mar 1, 2021
e0d4aef
github/stale: separate labels with commas without following spaces
avagin Mar 2, 2021
f8cf071
ci/compat: Check if tests are 32-bit ELFs
0x7f454c46 Feb 26, 2021
84be304
x86: Use PTRACE_GET_THREAD_AREA instead of sys_get_thread_area()
0x7f454c46 Nov 12, 2020
e4e58a8
namespaces: properly handle errors of snprintf
Snorch Feb 25, 2021
2fdc094
x86/compel/fault-inject: Add a fault-injection for corrupting extende…
0x7f454c46 Feb 25, 2021
6e1cd5b
zdtm/fpu00: Simplify ifdeffery
0x7f454c46 Feb 25, 2021
8394062
zdtm/fpu03: Add a test to check fpu C/R in a thread
0x7f454c46 Feb 25, 2021
e9b1e0b
compel: Store extended registers set in the thread context
0x7f454c46 Feb 26, 2021
e07e5ee
compel: Provide compel_set_task_ext_regs()
0x7f454c46 Feb 26, 2021
24f57c6
fault-injection: Run fpu corruption tests
0x7f454c46 Feb 26, 2021
fc1fefd
s390: Purge stale comment
0x7f454c46 Feb 26, 2021
6569412
Revert "compel: add -ffreestanding to force gcc not to use builtin me…
0x7f454c46 Feb 26, 2021
447b3cf
zdtm/fpu03: Add .desc file to omit running on !x86
0x7f454c46 Mar 9, 2021
1c1949a
test: move vt test to minor 65 on s390x
adrianreber Mar 4, 2021
77968d4
pstree: check for pid collision before switching to new sid/gid
Snorch Mar 1, 2021
b51fb87
ci: move Travis CI Docker tests to GitHub Actions
rst0git Feb 3, 2021
19be9ce
docker-test: use containerd v1.5.0-beta.0
rst0git Feb 3, 2021
fddf3a7
docker-test: set log file path
rst0git Feb 3, 2021
ca2d273
lib/cli.py: Open out file as a binary
0x7f454c46 Mar 3, 2021
cdfca86
ci: remove '-Wl,-z,now' workaround
adrianreber Mar 10, 2021
8017b6a
lib: fix recode errors seen in Jenkins
adrianreber Mar 10, 2021
9f2a696
ci: run recode tests on more input files
adrianreber Mar 10, 2021
b7d2c2a
ci: remove ccache setup
adrianreber Mar 10, 2021
628ff18
ci: run zdtm/transition/pid_reuse with pre-dumps in ci tests
ZeyadYasser Jan 21, 2021
42df849
criu-ns: Convert indentation to spaces
rst0git Dec 21, 2020
a6659c3
criu-ns: Remove space before/after bracket
rst0git Dec 21, 2020
c7d7608
criu-ns: Extract mount new /proc into a function
rst0git Dec 21, 2020
097834d
criu-ns: Extract wait for process into a function
rst0git Dec 21, 2020
b790ce2
criu-ns: Use documentation strings
rst0git Dec 21, 2020
ab9418d
criu-ns: Remove unused _umount
rst0git Dec 21, 2020
44a1d32
criu-ns: Extract set namespace functions
rst0git Dec 22, 2020
b31d3ad
criu-ns: Close namespace fd before raise
rst0git Jan 17, 2021
6055d0b
criu-ns: Pass arguments to run_criu()
rst0git Dec 22, 2020
719c5b0
criu-ns: Handle restore-detached option
rst0git Dec 22, 2020
66f5ab4
criu-ns: Add unsupported msg for restore-sibling
rst0git Dec 22, 2020
d49ace9
criu-ns: Merge comparisons with 'in'
rst0git Dec 22, 2020
02b0e85
lib: fromstring() and tostring() are deprecated
adrianreber Mar 15, 2021
c8beca6
lib: correctly handle padding of dump images
adrianreber Mar 15, 2021
d334ba3
pstree: don't change sid/gid-s if current sid/gid is the same
Snorch Mar 17, 2021
9b0d752
Use a real VM instead of a privileged container
fkorotkov Mar 17, 2021
ca03208
ci: move CentOS 8 based test to Cirrus
adrianreber Mar 19, 2021
49b9cff
lib: fix crit-recode fix for Python 2
adrianreber Mar 20, 2021
4806058
cr-service: fix CRIU_REQ_TYPE__FEATURE_CHECK RPC request
ZeyadYasser Mar 16, 2021
9edf531
criu: Throw error when parent path is provided but invalid
minhbq-99 Mar 13, 2021
840dc0b
criu: Replace faccessat with fstatat when using AT_SYMLINK_NOFOLLOW flag
minhbq-99 Mar 30, 2021
f9616e9
lib: correctly handle stdin/stdout (Python 3)
adrianreber Mar 10, 2021
35a4761
lib: print nice error if crit gets wrong input
adrianreber Mar 15, 2021
e65a56a
lib: also handle extra pipe data correctly
adrianreber Mar 23, 2021
7accc44
test: fix crit test and extend it
adrianreber Mar 15, 2021
38a9cbe
ci: enable crit tests in CI
adrianreber Mar 15, 2021
b98bbda
images: re-license as Expat license (so-called MIT)
adrianreber May 8, 2020
9d7353a
Makefile: add show-version command
adrianreber Apr 12, 2021
850e63f
Try packit 3
adrianreber Apr 10, 2021
b3a8763
fmf definitions
adrianreber Apr 14, 2021
4550c27
tests not copr_build
adrianreber Apr 14, 2021
f96459c
ci.fmf
adrianreber Apr 14, 2021
fbed4e7
arch64 and x86_64
adrianreber Apr 14, 2021
06df979
install dependencies
adrianreber Apr 14, 2021
be84ef4
cd_to_top
adrianreber Apr 14, 2021
955920e
protobuf link
adrianreber Apr 14, 2021
a779996
fix ln
adrianreber Apr 14, 2021
f268371
setenforce 0
adrianreber Apr 14, 2021
318521e
prepare
adrianreber Apr 15, 2021
1359f85
change prepare
adrianreber Apr 15, 2021
9e17c91
remove aarch64 from tests
adrianreber Apr 15, 2021
5244068
remove prepare section
adrianreber Apr 15, 2021
8984683
more setenforce 0
adrianreber Apr 15, 2021
3508268
install libselinux-devel
adrianreber Apr 15, 2021
d9b744f
fix missing ;
adrianreber Apr 15, 2021
9f7ec7a
disable sssd
adrianreber Apr 15, 2021
8430725
enable selinux again and keep-going
adrianreber Apr 15, 2021
a87162e
echo 1 > /proc/sys/vm/unprivileged_userfaultfd
adrianreber Apr 15, 2021
19cd059
test: remove ../criu from all directory paths
adrianreber Apr 15, 2021
597adf9
one more change
adrianreber Apr 16, 2021
c325430
try this
adrianreber Apr 16, 2021
19235aa
allow userfaultfd in userns
adrianreber Apr 16, 2021
1888573
remove '
adrianreber Apr 16, 2021
624844e
add some ;
adrianreber Apr 16, 2021
b2a2a01
Skip tun_ns on F33
adrianreber Apr 16, 2021
1183274
Install libbsd-devel on Fedora
adrianreber Apr 16, 2021
fe31d83
ci: skip error injection on 5.12
adrianreber Apr 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2.1
jobs:
test-local-gcc:
machine:
image: ubuntu-2004:202010-01
working_directory: ~/criu
steps:
- checkout
- run:
name: "Test local with GCC"
command: sudo -E make -C scripts/ci local
test-local-clang:
machine:
image: ubuntu-2004:202010-01
working_directory: ~/criu
steps:
- checkout
- run:
name: "Test local with CLANG"
command: sudo -E make -C scripts/ci local CLANG=1

workflows:
version: 2
builds:
jobs:
- test-local-gcc
- test-local-clang
53 changes: 53 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
task:
name: Vagrant Fedora based test (no VDSO)
environment:
HOME: "/root"
CIRRUS_WORKING_DIR: "/tmp/criu"

compute_engine_instance:
image_project: cirrus-images
image: family/docker-kvm
platform: linux
cpu: 4
memory: 16G
nested_virtualization: true

setup_script: |
scripts/ci/apt-install make gcc pkg-config git perl-modules iproute2 kmod wget cpu-checker
sudo kvm-ok
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
build_script: |
make -C scripts/ci vagrant-fedora-no-vdso

task:
name: CentOS 8 based test
environment:
HOME: "/root"
CIRRUS_WORKING_DIR: "/tmp/criu"

compute_engine_instance:
image_project: centos-cloud
image: family/centos-8
platform: linux
cpu: 4
memory: 8G

setup_script: |
ln -sf /usr/include/google/protobuf/descriptor.proto images/google/protobuf/descriptor.proto
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm dnf-plugins-core
yum config-manager --set-enabled powertools
yum install -y --allowerasing asciidoc gcc git gnutls-devel libaio-devel libasan libcap-devel libnet-devel libnl3-devel libselinux-devel make protobuf-c-devel protobuf-devel python3-devel python3-flake8 python3-PyYAML python3-future python3-protobuf xmlto
alternatives --set python /usr/bin/python3
systemctl stop sssd
# Even with selinux in permissive mode the selinux tests will be executed
# The Cirrus CI user runs as a service from selinux point of view and is
# much more restricted than a normal shell (system_u:system_r:unconfined_service_t:s0)
# The test case above (vagrant-fedora-no-vdso) should run selinux tests in enforcing mode
setenforce 0
# netns-nft fails with
# 4: FAIL: netns-nft.c:51: Can't get nft table (errno = 11 (Resource temporarily unavailable))
mv /usr/sbin/nft /usr/sbin/nft.away
pip3 install junit_xml

build_script: |
make -C scripts/ci local SKIP_CI_PREP=1 CC=gcc CD_TO_TOP=1
82 changes: 82 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
---
kind: pipeline
type: docker
name: aarch64 build GCC (native)

platform:
os: linux
arch: arm64

steps:
- name: build
image: ubuntu:focal
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local

---
kind: pipeline
type: docker
name: aarch64 build CLANG (native)

platform:
os: linux
arch: arm64

steps:
- name: build
image: ubuntu:focal
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local CLANG=1

---
kind: pipeline
type: docker
name: armhf build GCC (native)

platform:
os: linux
arch: arm

steps:
- name: build
# At the time of setting up focal did not work
image: ubuntu:bionic
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local

---
kind: pipeline
type: docker
name: armhf build CLANG (native)

platform:
os: linux
arch: arm

steps:
- name: build
# At the time of setting up focal did not work
image: ubuntu:bionic
commands:
- scripts/ci/apt-install make
- make -C scripts/ci local CLANG=1

---
kind: pipeline
type: docker
name: aarch64 Fedora Rawhide

platform:
os: linux
arch: arm64

steps:
- name: build
image: registry.fedoraproject.org/fedora:rawhide
commands:
- scripts/ci/prepare-for-fedora-rawhide.sh
- make -C scripts/ci/ local CC=gcc SKIP_CI_PREP=1 SKIP_CI_TEST=1 CD_TO_TOP=1
- make -C test/zdtm -j 4
1 change: 1 addition & 0 deletions .fmf/all.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa
1 change: 1 addition & 0 deletions .fmf/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
15 changes: 15 additions & 0 deletions .github/workflows/alpine-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Alpine Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
target: [GCC=1, CLANG=1]

steps:
- uses: actions/checkout@v2
- name: Run Alpine ${{ matrix.target }} Test
run: sudo -E make -C scripts/ci alpine ${{ matrix.target }}
15 changes: 15 additions & 0 deletions .github/workflows/centos-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CentOS Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
target: [centos7]

steps:
- uses: actions/checkout@v2
- name: Run CentOS ${{ matrix.target }} Test
run: sudo -E make -C scripts/ci ${{ matrix.target }}
16 changes: 16 additions & 0 deletions .github/workflows/compat-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Compat Tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
target: [GCC, CLANG]


steps:
- uses: actions/checkout@v2
- name: Run Compat Tests (${{ matrix.target }})
run: sudo -E make -C scripts/ci local COMPAT_TEST=y ${{ matrix.target }}=1
22 changes: 0 additions & 22 deletions .github/workflows/cross-compile-daily-mips.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/cross-compile-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Daily Cross Compile Tests

on:
schedule:
- cron: '30 * * * *'
- cron: '30 12 * * *'

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross]
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]
branches: [criu-dev, master]

steps:
Expand All @@ -19,4 +19,4 @@ jobs:
ref: ${{ matrix.branches }}
- name: Run Cross Compilation Targets
run: >
sudo make -C scripts/travis ${{ matrix.target }}
sudo make -C scripts/ci ${{ matrix.target }}
21 changes: 0 additions & 21 deletions .github/workflows/cross-compile-mips.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/cross-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [armv7-cross, aarch64-cross, ppc64-cross]
target: [armv7-cross, aarch64-cross, ppc64-cross, mips64el-cross]

steps:
- uses: actions/checkout@v2
- name: Run Cross Compilation Targets
run: >
sudo make -C scripts/travis ${{ matrix.target }}
sudo make -C scripts/ci ${{ matrix.target }}
14 changes: 14 additions & 0 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Docker Test

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
steps:
- uses: actions/checkout@v2
- name: Run Docker Test (${{ matrix.os }})
run: sudo make -C scripts/ci docker-test
12 changes: 12 additions & 0 deletions .github/workflows/fedora-asan-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Fedora ASAN Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: Run Fedora ASAN Test
run: sudo -E make -C scripts/ci fedora-asan
12 changes: 12 additions & 0 deletions .github/workflows/fedora-rawhide-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Fedora Rawhide Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: Run Fedora Rawhide Test
run: sudo -E make -C scripts/ci fedora-rawhide
14 changes: 14 additions & 0 deletions .github/workflows/gcov-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Coverage Tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- name: Run Coverage Tests
run: sudo -E make -C scripts/ci local GCOV=1
- name: Run Coverage Analysis
run: sudo -E make codecov
11 changes: 11 additions & 0 deletions .github/workflows/openj9-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: OpenJ9 Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run OpenJ9 Test
run: sudo make -C scripts/ci openj9-test
11 changes: 11 additions & 0 deletions .github/workflows/podman-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Podman Test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Run Podman Test
run: sudo make -C scripts/ci podman-test
Loading