File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,14 @@ jobs:
4848 distribution : temurin
4949
5050 - name : Install deps
51- if : runner.os == 'Linux'
51+ if : runner.os == 'Linux' || runner.os == 'macOS'
5252 run : |
53- sudo apt update
54- sudo apt-get install -y cmake ninja-build gcc g++ liblist-moreutils-perl
55-
56- - name : Install deps
57- if : runner.os == 'macOS'
58- run : |
59- sudo cpan -i List::MoreUtils
53+ if [ $RUNNER_OS == "Linux" ]; then
54+ sudo apt update
55+ sudo apt-get install -y cmake ninja-build gcc g++ liblist-moreutils-perl
56+ elif [ $RUNNER_OS == "macOS" ]; then
57+ sudo cpan -i List::MoreUtils
58+ fi
6059
6160 - name : Configure CMake
6261 # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
You can’t perform that action at this time.
0 commit comments