Installs the OrangeC compiler and configures paths and variables for the ability to use the CMake.
See also Patches for Orange C support modules CMake.
Version 6.0.42.1 (6.42.1) of Chocolatey Software is incompatible with CMake support modules. You can use version 6.73.1 (partially compatible), 7.0.7, or higher.
- uses: Serge3leo/orangec-setup@v0
or
- uses: Serge3leo/orangec-setup@v0
with:
version: 6.73.1
verbose: true
An example with a CMake project can be see:
- Learn CMake on GitHub multiple platforms;
- cmake-multi-platform.yml;
- C23/C++14 platform independent implementation of C2y countof().
- Type:
boolean - Default:
true
To speed up re-use, cache installation directory OrangeC.
It may be useful to use additional workflows to delete caches that are unlikely to be used (after a PR is closed, etc.). Templates for such workflows: Clean Cache Action or https://github.com/marketplace/actions/clean-cache-action .
- Type:
string - Allowed values: executable command (path)
cmake - Default value:
cmake
Sets the cmake command used when installing support modules (i.e.
after installation, this particular cmake command will support the Pelles
C compiler).
- Type:
string - Allowed values:
check | always | no - Default:
check
Always patching Orange C support modules.
Check availability. Patch Orange C support modules if features are not supported.
Do not patch the Orange C support modules.
- Type:
string
Add prefix to cache key (for refresh version, identification etc).
- Type:
boolean - Default:
false
Show the paths and versions of the main components: occ, make, cmake, ...
- Type:
string
If not specified, the latest available version is installed. The list of available versions is given below: https://community.chocolatey.org/packages/orangec.
Issues or PRs are accepted and welcome.
Sorry for my best English. Alas, this file is actually a yandex translation of README.ru.md with minimal editorial changes.