Skip to content

Port to Qt6

Port to Qt6 #30

Workflow file for this run

name: CI (macOS)
on:
push:
pull_request:
env:
SDL_VERSION: 2.30.3
jobs:
build:
strategy:
matrix:
os: [macos-13, macos-latest]
include:
- os: macos-13
qtpath: /usr/local/opt/qt@6/bin
- os: macos-latest
qtpath: /opt/homebrew/opt/qt@6/bin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: |
brew update
brew install qt@6
wget https://github.com/libsdl-org/SDL/releases/download/release-$SDL_VERSION/SDL2-$SDL_VERSION.dmg
sudo hdiutil attach SDL2-$SDL_VERSION.dmg
sudo cp -R /Volumes/SDL2/SDL2.framework /Library/Frameworks
sudo hdiutil detach /Volumes/SDL2
- name: Build
env:
DISTCFG: 1
MULTIMEDIA: 0
run: |
export PATH="${{ matrix.qtpath }}:$PATH"
make -j3
- uses: actions/upload-artifact@master
with:
name: qmc2-${{ matrix.os }}-${{ github.sha }}
path: |
qmc2-sdlmame.app