mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 19:14:04 +00:00
The github action based cross compile tests are only running when pushing to master or criu-dev. This changes this to have it run on all branches. Useful to have all CI tests running on personal CRIU checkouts on branches with other names. If I prepare a branch to create a new pull request, the cross compile tests have not been running if my branch has another name than criu-dev or master. With this change these tests will run on all branches. Signed-off-by: Adrian Reber <areber@redhat.com>
17 lines
338 B
YAML
17 lines
338 B
YAML
name: Cross Compile Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
target: [armv7-cross, aarch64-cross, ppc64-cross]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Run Cross Compilation Targets
|
|
run: >
|
|
sudo make -C scripts/travis ${{ matrix.target }}
|