Added examples from https://github.com/xaos-project/XaoS/issues/234 #180
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: build | |
on: [push] | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: prerequisites | |
run: sudo apt update && sudo apt install build-essential qttools5-dev-tools qt6-base-dev libgl1-mesa-dev | |
- name: qmake | |
run: qmake6 | |
- name: make | |
run: make | |
mac: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: install-qt | |
uses: jurplel/install-qt-action@v3 | |
with: | |
version: '6.2.4' | |
- name: qmake | |
run: qmake | |
- name: make | |
run: make | |
# This requires too much disk space (more than 40 GB), so it is disabled for now: | |
# wasm: | |
# | |
# runs-on: ubuntu-latest | |
# | |
# steps: | |
# - uses: actions/checkout@v1 | |
# - name: prerequisites | |
# run: sudo apt update && sudo apt install build-essential libclang-13-dev cmake ninja-build libgl-dev libegl-dev libfontconfig-dev | |
# - name: compile-qt-web | |
# run: cd tools && ./compile-qt-web | |
# - name: compile-xaos-web | |
# run: cd tools && ./compile-xaos-web |