All Projects → lukka → get-cmake

lukka / get-cmake

Licence: MIT license
Install and Cache latest CMake and ninja executables for your workflows on your GitHub

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to get-cmake

CppBuildTasks
Build C++ software with vcpkg and CMake (with CMakeLists.txt or CMakeSettings.json). Samples provided use both self-hosted or Microsoft hosted agent, using Docker and Pipeline Caching as well. The same tasks are available as GitHub actions at https://github.com/lukka/run-cmake https://github.com/lukka/run-vcpkg -=-
Stars: ✭ 26 (-50%)
Mutual labels:  build, ninja, vcpkg
Awesome Bazel
A curated list of Bazel rules, tooling and resources.
Stars: ✭ 640 (+1130.77%)
Mutual labels:  build, continuous-integration
Gaia
Build powerful pipelines in any programming language.
Stars: ✭ 4,534 (+8619.23%)
Mutual labels:  build, continuous-integration
gradle-android-appiconoverlay
Plugin for Android Gradle to automatically overlay the app icon with the current git commit SHA1.
Stars: ✭ 64 (+23.08%)
Mutual labels:  build, continuous-integration
myrepo
continuous integration rep
Stars: ✭ 41 (-21.15%)
Mutual labels:  build, continuous-integration
Platform Espressif32
Espressif 32: development platform for PlatformIO
Stars: ✭ 333 (+540.38%)
Mutual labels:  build, continuous-integration
Flubucore
A cross platform build and deployment automation system for building projects and executing deployment scripts using C# code.
Stars: ✭ 695 (+1236.54%)
Mutual labels:  build, continuous-integration
bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (-53.85%)
Mutual labels:  continuous-integration, github-action
Packcheck
Universal build and CI testing for Haskell packages
Stars: ✭ 91 (+75%)
Mutual labels:  build, continuous-integration
Build
Netlify Build runs the build command, Build Plugins and bundles Netlify Functions.
Stars: ✭ 135 (+159.62%)
Mutual labels:  build, continuous-integration
Buildhelpers
Helper functions for PowerShell CI/CD scenarios
Stars: ✭ 174 (+234.62%)
Mutual labels:  build, continuous-integration
drevops
💧 + 🐳 + ✓✓✓ + 🤖 + ❤️ Build, Test, Deploy scripts for Drupal using Docker and CI/CD
Stars: ✭ 55 (+5.77%)
Mutual labels:  build, continuous-integration
qodana-action
⚙️ Scan your Java, Kotlin, PHP, Python, JavaScript, TypeScript projects at GitHub with Qodana
Stars: ✭ 112 (+115.38%)
Mutual labels:  continuous-integration, github-action
overview
Automate your workflows with GitHub actions for MATLAB.
Stars: ✭ 40 (-23.08%)
Mutual labels:  continuous-integration, github-action
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+1309.62%)
Mutual labels:  continuous-integration, github-action
old vespene
DISCONTINUED: a frozen fork will exist forever at mpdehaan/vespene
Stars: ✭ 672 (+1192.31%)
Mutual labels:  build, continuous-integration
CDT-plusplus
Causal Dynamical Triangulations in C++ using CGAL
Stars: ✭ 49 (-5.77%)
Mutual labels:  ninja, vcpkg
setup-julia
This action sets up a Julia environment for use in actions by downloading a specified version of Julia and adding it to PATH.
Stars: ✭ 56 (+7.69%)
Mutual labels:  continuous-integration, github-action
Androidsdk
🐳 Full-fledged Android SDK Docker Image
Stars: ✭ 776 (+1392.31%)
Mutual labels:  build, continuous-integration
Platform Ststm32
ST STM32: development platform for PlatformIO
Stars: ✭ 201 (+286.54%)
Mutual labels:  build, continuous-integration

Action Status

Coverage Status

The get-cmake action for downloading and caching CMake and ninja binaries on the GitHub agents.

Restores from cache, or downloads and caches CMake v3.23.2 and Ninja v1.11.0. Works for x64 on Linux/macOS/Windows.

Flowchart of get-cmake:

  1. If cache hit occurs, CMake and ninja are restored from cache in less than 1 second;
  2. If cache miss occurs, the action downloads and installs CMake and ninja, then caches both automatically with GitHub's @actions/cache APIs;
  3. Adds to PATH the CMake and ninja executables;

Quickstart

    # - uses: actions/cache@v1  <-----= YOU DO NOT NEED THIS
    #   key: <key>              <-----= YOU DO NOT NEED THIS
    #   path: <path>            <-----= YOU DO NOT NEED THIS

    - name: Get latest CMake and ninja
      # Using 'latest' branch, the most recent CMake and ninja are installed.
      uses: lukka/get-cmake@latest        ⟸ THIS IS THE ONE LINER YOU NEED
          
    # If you need to pin your workflow to specific CMake version you can use the 'tag' to select the version.
    - name: Get specific version CMake, v3.23.2
      uses: lukka/[email protected]   ⟸ THIS IS THE ONE LINER YOU NEED

Developer Manual

Action reference: all input/output parameters

There are no inputs, nor outputs.

action.yml

Developers information

Prerequisites

gulp 4 globally installed.

Build and lint

Build with tsc running:

npm run build

Launch lint by:

npm run lint

Packaging

To build, lint validate and package the extension for release purpose, run:

npm run pack

Testing

To build, pack and test:

npm run test

To run test directly:

jest

Contributing

The software is provided as is, there is no warranty of any kind. All users are encouraged to improve the source code with fixes and new features.

License

All the content in this repository is licensed under the MIT License.

Copyright (c) 2020-2021-2022 Luca Cappa

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].