summaryrefslogtreecommitdiff
path: root/.github/workflows/debian_mips64.yml
blob: a2365b2af8b6a280ecd643e5416601fa2ac8beac (plain)
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
name: Debian (Mips64)

on:
  pull_request:
  push:
  release:
    types: [published]

jobs:
  build:
    runs-on: ubuntu-latest

    concurrency:
        group: ${{ github.head_ref }}-DebianMips64
        cancel-in-progress: true
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: true

      - run: |
          docker run --rm --privileged multiarch/qemu-user-static:register --reset

      - uses: docker://multiarch/debian-debootstrap:mips64el-stretch
        with:
          args: >
            bash -c
            "uname -a &&
            apt update &&
            cd /github/workspace &&
            ./scripts/get.sh __local__ &&
            source ~/.xmake/profile &&
            export XMAKE_ROOT=y &&
            export XMAKE_TMPDIR=/tmp &&
            xmake lua -v -D tests/run.lua && xrepo --version"