Skip to content

Add menus

Add menus #120

Workflow file for this run

name: "Build and test"
on:
push:
branches: [ "tip-of-tree" ]
pull_request:
branches: [ "tip-of-tree" ]
permissions:
contents: read
jobs:
Windows:
strategy:
matrix:
platform: [Win32, x64]
configuration: [Debug, Release]
runner: [windows-2022] # TODO: Add windows-2019, which errors on Platform Toolset = 'v143' missing.
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1.0.2
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} .\Projects\VisualStudio
- name: Test
run: ${{ github.workspace }}\Projects\VisualStudio\maxGUIAutomatedTests\${{ matrix.platform }}\${{ matrix.configuration }}\maxGUIAutomatedTests.exe
Linux:
strategy:
matrix:
platform: [X86-64] # TODO: Add X86, AArch32, and AArch64 platforms
compiler: [Clang, GCC]
runner: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout
uses: actions/checkout@v3
#- name: Install Compilers
# run: |
# sudo apt update
# sudo apt install g++-9 g++-10 llvm-10 clang-10
- name: Install Qt 5
run: |
sudo apt update
sudo apt install qtbase5-dev
- name: Find Qt
run: |
find /usr/include -name QWidget
- name: Build
#env:
# CXX: g++-10
working-directory: ${{ github.workspace }}/Projects/${{ matrix.compiler }} ${{ matrix.platform }} Make
run: make
- name: Test
run: ${{ github.workspace }}/Projects/${{ matrix.compiler }}\ ${{ matrix.platform }}\ Make/maxGUIAutomatedTests