A simple workflow to build the Ring programming language from source code and run the tests.
The workflows (.github/workflows)
using_ubuntu.yml: Ubuntu (GCC) - Ringusing_macos.yml: macOS (Clang - Apple Silicon) - Ringusing_ubuntu_ringqt6.yml: Ubuntu (GCC) - Ring + RingQt6using_macos_ringqt6.yml: macOS (Clang - Apple Silicon) - Ring + RingQt6
The first two workflows build Ring and test it (steps 1 and 2 below).
The *_ringqt6.yml workflows do the same and also test RingQt6 (step 3).
Each workflow
- Builds Ring from the source code (and runs the Ring tests)
- Tests RingPM (
ringpm install firstpackage from mahmoudfayed) - Tests RingQt6
- Installs the package :
ringpm install ringqt6 - Installs Qt 6 :
installdeps_ubuntu_qt6.sh(Ubuntu) orinstalldeps_macos_qt6.sh(macOS - Homebrewqt) - Builds RingQt6 from the source code (
extensions/ringqt6) : Core, Light and Full - Tests each build using
testqt6core.ring,testqt6light.ringandtestqt6.ring(UsingQT_QPA_PLATFORM=offscreen, no display is required)
- Installs the package :
Notes
- The RingQt6 steps are independent (a failure in one build doesn't stop the next ones), each build is tested after building it.
- Ring itself contains RingQt (Qt 5), the
ringqt6package replaces the Qt classes inlibraries/guiliband the RingQt6 libraries (libringqt*.soorlibringqt*.dylib) are copied toring/lib. - The packages (
ringqt6,ringqt6runtime,qt612runtime,qt612qmlruntime) must be available in the RingPM registry. - The workflows can be started manually (
workflow_dispatch).