try other MSVC version #196
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu Qt CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
project: 'minutor' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
name: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] | |
include: | |
- name: ubuntu-20.04 | |
os: ubuntu-20.04 | |
- name: ubuntu-22.04 | |
os: ubuntu-22.04 | |
- name: ubuntu-24.04 | |
os: ubuntu-24.04 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Qt | |
run: | | |
sudo apt-get update | |
sudo apt-get install qtbase5-dev qt5-qmake qtbase5-dev-tools -y | |
- name: Create BUILD folder | |
run: | | |
mkdir ../build | |
- name: Build (Ubuntu) | |
working-directory: ../build | |
run: | | |
qmake ${{ github.workspace }}/${{ env.project }}.pro | |
make | |
- name: Archive build result | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Binary ${{ matrix.name }} | |
path: ${{ runner.workspace }}/build/${{ env.project }} |