aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/linux_test.yml
blob: 42b3834ce4e05296087c60955a10804d8e510891 (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
36
37
38
name: linux_ci

on: [push, pull_request]

jobs:
  build-native:
    strategy:
      matrix:
        os: [macos-latest, ubuntu-18.04]
        compiler: [clang, gcc]
    runs-on: ${{ matrix.os }}
    continue-on-error: false
    env:
      CC: ${{ matrix.compiler }}
      ARCH: native
    name: ${{ matrix.compiler }} - ${{ matrix.os }}
    steps:
    - name: Install packages for macos
      if: matrix.os == 'macos-latest'
      run: brew install automake
    - uses: actions/checkout@v2
    - name: Run CI script
      run: ./scripts/travis

  build-other:
    strategy:
      matrix:
        arch: [mingw32, mingw64, arm32, arm64]
    runs-on: ubuntu-18.04
    continue-on-error: true
    env:
      CC: gcc
      ARCH: ${{ matrix.arch }}
    name: ${{ matrix.arch }}
    steps:
    - uses: actions/checkout@v2
    - name: Run CI script
      run: ./scripts/travis