aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/os_comp.yml
blob: dcbbdde89b5aa6439d3d3cb2c1ee79970a75424a (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: OS Comp Tests

on: [push, pull_request]

jobs:
  xenial:
    name: Ubuntu 16.04
    runs-on: ubuntu-16.04
    steps:
    - uses: actions/checkout@v1
    - name: Install Dependencies
      run: |
        sudo apt update -yq
        sudo apt install -yq --no-install-recommends python3-setuptools python3-pip g++ gfortran gobjc gobjc++ zlib1g-dev python-dev python3-dev libboost-all-dev
    - name: Remove GitHub boost version
      run: sudo rm -rf /usr/local/share/boost
    - name: Install ninja-build tool
      uses: seanmiddleditch/gha-setup-ninja@v1
    - name: Python version
      run: python3 --version
    - name: Ninja version
      run: ninja --version
    - name: Run tests
      run: python3 run_tests.py
      env:
        CI: '1'
        XENIAL: '1'

  arch:
    name: Arch Linux
    runs-on: ubuntu-latest
    container: mensinda/arch:latest
    steps:
    - uses: actions/checkout@v1
    - name: Run tests
      run: ./run_tests.py
      env:
        CI: '1'

  fedora:
    name: Fedora
    runs-on: ubuntu-latest
    container: mensinda/fedora:latest
    steps:
    - uses: actions/checkout@v1
    - name: Run tests
      run: ./run_tests.py
      env:
        CI: '1'
        SKIP_SCIENTIFIC: '1'

  opensuse:
    name: OpenSUSE
    runs-on: ubuntu-latest
    container: mensinda/opensuse:latest
    steps:
    - uses: actions/checkout@v1
    - name: Run tests
      run: ./run_tests.py
      env:
        CI: '1'
        SKIP_SCIENTIFIC: '1'