name: Default Qt on ubuntu

on: [push, pull_request]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-16.04, ubuntu-18.04, ubuntu-latest]
    
    steps:
    - uses: actions/checkout@v1
      with:
        submodules: recursive
    - name: install dependencies
      run: |
        sudo apt update
        sudo apt install qt5-default qtbase5-private-dev
    - name: build
      run: |
        mkdir build
        cd build
        qmake ../src
        make -j8

name: Default Qt on ubuntu

on: [push, pull_request]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        # https://github.com/actions/runner-images#available-images
        os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04]
    
    steps:
    - uses: actions/checkout@v1
      with:
        submodules: recursive
    - name: install dependencies
      run: |
        sudo apt update
        sudo apt install qt5-default qtbase5-private-dev
    - name: build
      run: |
        mkdir build
        cd build
        qmake ../src
        make -j8

Update Ubuntu versions used in GitHub Actions
Update Ubuntu versions used in GitHub Actions

* Ubuntu 16.04 was removed on Sep 20, 2021, as per
  https://github.com/actions/runner-images/issues/3287
* Currently-available versions are 18.04 (deprecated), 20.04, and 22.04 as per
  https://github.com/actions/runner-images#available-images

Added a comment pointing to the list of currently-available Ubuntu versions in
a comment in the workflow config to make it easire to find the full list and
update it in the future.
