File tree Expand file tree Collapse file tree 1 file changed +19
-10
lines changed
github-actions/install-dep-glfw Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,24 @@ name: Install GLFW
2
2
runs :
3
3
using : " composite"
4
4
steps :
5
- - name : Install GLFW
5
+ - name : Install GLFW (Linux)
6
6
shell : bash
7
+ if : ${{ runner.os == 'Linux' }}
7
8
run : |
8
- if ${{ toJSON( runner.os == 'Linux' ) }}; then
9
- echo "::group::Install GLFW (via apt-get)"
10
- sudo apt-get install libglfw3-dev
11
- echo "::endgroup::"
12
- elif ${{ toJSON( runner.os == 'macOS' ) }}; then
13
- echo "::group::Install GLFW (via brew)"
14
- brew install glfw
15
- echo "::endgroup::"
16
- fi
9
+ echo "::group::Install GLFW (via apt-get)"
10
+ sudo apt-get install libglfw3-dev
11
+ echo "::endgroup::"
12
+ - name : Install GLFW (Homebrew)
13
+ shell : bash
14
+ if : ${{ runner.os == 'macOS' }}
15
+ run : |
16
+ echo "::group::Install GLFW (via brew)"
17
+ brew install glfw
18
+ echo "::endgroup::"
19
+ - name : Install GLFW (vcpkg)
20
+ shell : bash
21
+ if : ${{ runner.os == 'Windows' }}
22
+ run : |
23
+ echo "::group::Install GLFW (via vcpkg)"
24
+ vcpkg install glfw3
25
+ echo "::endgroup::"
You can’t perform that action at this time.
0 commit comments