mirror of
https://github.com/threeal/cmake-action.git
synced 2026-02-01 19:40:49 +00:00
run action with specified generator job on multiple platforms
This commit is contained in:
@@ -51,7 +51,12 @@ runs:
|
||||
- name: Install Ninja
|
||||
if: ${{ inputs.generator == 'Ninja' }}
|
||||
shell: bash
|
||||
run: sudo apt install -y ninja-build
|
||||
run: |
|
||||
case "$OSTYPE" in
|
||||
darwin*) brew install ninja ;;
|
||||
linux*) sudo apt install -y ninja-build ;;
|
||||
*) choco install ninja ;;
|
||||
esac
|
||||
|
||||
- name: Configure CMake
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user