-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor install gperf into separate github action
- Loading branch information
Sebastian Krämer
committed
Oct 1, 2024
1 parent
2c3a5f4
commit 216b28f
Showing
2 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Install gperf | ||
description: Installs gperf on Linux, macOS, and Windows runners. | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install gperf on Linux | ||
if: runner.os == 'Linux' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y gperf | ||
- name: Install gperf on macOS | ||
if: runner.os == 'macOS' | ||
run: | | ||
brew update | ||
brew install gperf | ||
- name: Install gperf on Windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
choco install gperf --yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters