File tree Expand file tree Collapse file tree
.github/actions/install-system-deps Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : ' Install System Dependencies'
2+ description : ' Install liblzma and build dependencies based on OS and configuration'
3+ author : ' Olivier ORABONA'
4+
5+ inputs :
6+ use-global-liblzma :
7+ description : ' Whether to use system-installed liblzma (true/false)'
8+ required : true
9+ default : ' false'
10+
11+ runs :
12+ using : ' composite'
13+ steps :
14+ - name : Install liblzma-dev (Linux)
15+ if : runner.os == 'Linux' && inputs.use-global-liblzma == 'true'
16+ shell : bash
17+ run : |
18+ sudo apt-get update
19+ sudo apt-get install -y liblzma-dev pkg-config
20+
21+ - name : Install XZ (macOS)
22+ if : runner.os == 'macOS' && inputs.use-global-liblzma == 'true'
23+ shell : bash
24+ run : |
25+ brew install xz pkg-config
26+
27+ - name : Info - Using bundled liblzma
28+ if : inputs.use-global-liblzma == 'false'
29+ shell : bash
30+ run : |
31+ echo "📦 Using bundled XZ/liblzma (downloaded from GitHub)"
32+ echo "USE_GLOBAL=${{ inputs.use-global-liblzma }}"
You can’t perform that action at this time.
0 commit comments