criu/.github/workflows/cross-compile.yml
Adrian Reber fd7b6e73d6 CI: run cross compile on all branches
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>
2020-10-20 00:18:24 -07:00

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 }}