libsdl-org / libsdl-org/setup-sdl

Feature request: install dependencies only

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
41
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to add a setting that only installs the system dependencies and skips the cmake build? This would be useful because I am using git submodules to vendor SDL and have my own cmake file that builds SDL as part of my application.

I am using this workaround in the meantime:

- uses: libsdl-org/setup-sdl@main
  with:
    version: 3.2.26
    install-linux-dependencies: true
    cmake-arguments: "-FAIL_ON_PURPOSE_SINCE_WE_ONLY_NEED_DEPENDENCIES"
  continue-on-error: true

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the GitHub Action's input handling and the existing cmake build path; the issue names no files or tests. Trace how install-linux-dependencies and cmake-arguments are processed, then verify that a dependency-only option skips the build while still installing system dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, javascript
Domain
build-system, devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.