File: cross-compile.yml

package info (click to toggle)
criu 4.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,584 kB
  • sloc: ansic: 139,280; python: 7,484; sh: 3,824; java: 2,799; makefile: 2,659; asm: 1,137; perl: 206; xml: 117; exp: 45
file content (40 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (2)
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
39
40
name: Cross Compile Tests

on: [push, pull_request]

# Cancel any preceding run on the pull request.
concurrency:
  group: cross-compile-test-${{ github.event.pull_request.number || github.ref }}
  cancel-in-progress: ${{ github.ref != 'refs/heads/criu-dev' }}

jobs:
  build:

    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        experimental: [false]
        target: [
          armv7-stable-cross,
          aarch64-stable-cross,
          ppc64-stable-cross,
          mips64el-stable-cross,
          riscv64-stable-cross,
        ]
        include:
          - experimental: true
            target: armv7-unstable-cross
          - experimental: true
            target: aarch64-unstable-cross
          - experimental: true
            target: ppc64-unstable-cross
          - experimental: true
            target: mips64el-unstable-cross

    steps:
    - uses: actions/checkout@v4
    - name: Run Cross Compilation Targets
      run: >
        sudo make -C scripts/ci ${{ matrix.target }}