name: Build

on:
  push:
    paths-ignore:
      - 'docs/**'
      - '**.md'
  pull_request:
    paths-ignore:
      - 'docs/**'
      - '**.md'

jobs:
  build:
    name: Building on ${{matrix.os}} using ${{matrix.compiler}}
    runs-on: ${{matrix.os}}
    continue-on-error: true
    strategy:
      matrix:
        os: [ubuntu-18.04, ubuntu-latest, windows-latest]
        compiler: [fsf, community]
        exclude:
          - os: windows-latest
            compiler: fsf
    steps:
    - uses: actions/checkout@v2

    - name: Install toolchain
      uses: ada-actions/toolchain@ce2021
      with:
        distrib: ${{matrix.compiler}}
        target: native

    - name: Install Alire
      uses: alire-project/setup-alire@latest-devel

    - name: Build crates
      run: make

name: Build

on:
  push:
    paths-ignore:
      - 'docs/**'
      - '**.md'
  pull_request:
    paths-ignore:
      - 'docs/**'
      - '**.md'

jobs:
  build:
    name: Building on ${{matrix.os}} using ${{matrix.compiler}}
    runs-on: ${{matrix.os}}
    continue-on-error: true
    strategy:
      matrix:
        os: [ubuntu-18.04, ubuntu-latest, windows-latest]
        compiler: [fsf, community]
        exclude:
          - os: windows-latest
            compiler: fsf
    steps:
    - uses: actions/checkout@v2

    - name: Install toolchain
      uses: ada-actions/toolchain@ce2021
      with:
        distrib: ${{matrix.compiler}}
        target: native

    - name: Install Alire
      uses: alire-project/setup-alire@latest-devel

    - name: Install EGL
      run: sudo apt install libegl1-mesa-dev
      if: ${{ matrix.os != 'windows-latest'}}

    - name: Build crates
      run: make

Install EGL library in GitHub Action on Ubuntu
Install EGL library in GitHub Action on Ubuntu

Signed-off-by: onox <34c1d3d2d1347bea60a26f46574de21a7a79b6d5@gmail.com>
