Commit Graph
21 Commits
Author SHA1 Message Date
Malte LangermannandGitHub 8d91c0ae95 chore: Convert simu/simulator/companion to SDL2 (#3085)
* chore(pc): convert simu/simulator/companion to use SDL2

* switch companion builds to SDL2 - OSX is not converted
the linux change is done a bit hacky, it should be done by updating the EdgeTX docker container

* update build system setup scripts

* add compatibility for old and new SDL2 cmake integration

* fix windows installer

* fix simulator audio on windows by using DirectSound vie SDL2

* fix windows audio with SDL2
enable simu for windows builds

* remove workflow changes for linux builds, this needs to be fixed in the build environment

* fix OSX build, thx @pafleraf

* fix windows audio for companion and simulator with SDL2

* select SDL2 branch of the build-docker environment

* Revert "select SDL2 branch of the build-docker environment"

This reverts commit da801609d78e1aed513ad7d9d8ab3ebded2900b9.

* fix tests with SDL2
2023-02-22 20:32:51 +10:00
Peter FeerickandGitHub 7d1a9caee0 fix(gh): Workaround bug in GitHub runner for Mac Cpn action (#3203)
* fix(gh): Mac Cpn action dependency reorder

* Another possible fix
2023-02-17 22:06:12 +10:00
Peter FeerickandGitHub efe2ddd2b1 fix(ci): MacOS Companion python clang pkg misisng 2022-12-14 18:16:45 +10:00
Peter FeerickandGitHub ab5d4f0e20 chore(github): Node.js 12 based actions deprecated (#2513)
* chore(github): Node.js 12 based actions deprecated

* chore: Remove more dependency ver warnings
 - `jurplel/install-qt-action@v3` finally released
 - `actions/cache@v1` is thus no longer needed, so its warning gone also
 - leaving on only `maxim-lobanov/setup-xcode` remaining
2022-11-15 16:39:24 +10:00
Peter Feerick cc727514ec chore: Update GH actions 2022-09-26 16:42:33 +10:00
Raphael CoefficandPeter Feerick 2dee0e7b68 fix(cpn): revert macOS runner to Python 3.9 2022-08-23 20:33:41 +10:00
Raphael CoefficandGitHub b57c1f303e chore(github): Bump macOS runner version to mac-11 (#2176)
* Bump macOS runner version to mac-11

* Use XCode 11.7 (oldest supported version by GH runners)
2022-08-01 18:33:50 +10:00
Raphael Coeffic 48aa7d751c Add lz4 to Windows & macOS Companion workflows 2022-06-11 22:30:22 +02:00
Peter FeerickandGitHub b0e3cb015f feat(minor): Better showing of version info in firmware and cpn, remove seperate cpn32 build script (#1913)
* fix: Prevent potential wordsplitting of variables

* chore: Remove need for separate cpn 32bit script

* Build script tag/branch/PR auto-detection

* Teach companion about VERSION_TAG

* Update some constant names

* Only one companion build script

* Actually use `VERSION_SUFFIX` in about screen 🤦

* Add space

* Remove line that was only for testing 32bit build

* Remove hyphen between win and bits

* Show codename in Settings -> Version

* cpn: Only show codename on tagged versions

* Update about screen also

* Double quotes around codename on colorlcd

* Update copyright year

* About screen should use VERSION_TAG when set
2022-05-08 16:24:31 +10:00
Raphael CoefficandRaphael Coeffic 7d4c814215 macOS Companion: install Pillow with python3 2022-03-25 16:47:59 +01:00
Raphael CoefficandRaphael Coeffic e293d85874 Fix macOS Companion build on GH 2022-03-25 16:47:59 +01:00
Raphael Coeffic 1b87b6acea Bump dev version 2022-03-25 11:35:48 +01:00
Samuel HenriqueandGitHub d09ba3adca fix: Prevent word splitting in compilation scripts when handling paths (#1502)
These invocations will all cause bugs when pwd returns something that
 can be interpreted by bash, the most common case being a folder
 with whitespaces in its name. In other words these can be triggered by
 calling the scripts from any folder that contains whitespaces.

 More info on this specific finding by shellcheck:
 https://github.com/koalaman/shellcheck/wiki/SC2046
2022-01-26 20:58:24 +10:00
Raphael Coeffic 4a2b7f8d2d Added 2.6 branch to actions 2021-12-20 11:32:32 +01:00
Raphael Coeffic 99048e6389 Pin macOS builds to 10.15
macos-latest is about to change to big sur (11.0).
2021-09-23 09:06:55 +02:00
Raphael Coeffic 982382e164 Aligned / Added 2.5 branch in automatic builds 2021-09-21 08:34:42 +02:00
Raphael Coeffic 66b523cf88 Fixed workflow name patterns 2021-09-19 16:55:48 +02:00
Raphael Coeffic f554c12337 Fixed Companion artifacts names 2021-09-19 16:49:44 +02:00
Raphael Coeffic e6cdb7623b Allow Companion build on version tags on main and 2.5 branch 2021-09-19 14:13:37 +02:00
Raphael Coeffic 28dc161337 PoC: compile companion macOS without arm-gcc toolchain 2021-09-16 11:23:55 +02:00
Raphael Coeffic 3f8e547077 Added Mac OSX companion build 2021-09-13 11:13:08 +02:00