Skip to content

Commit 9f56b80

Browse files
authored
Update build.yml
add GL dependancy for Linux and install macports
1 parent 0f24008 commit 9f56b80

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,20 @@ jobs:
6363
if: runner.os == 'Linux'
6464
run: |
6565
sudo apt update
66-
sudo apt install -y libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-image-dev
66+
sudo apt install -y libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-image-dev libgl1-mesa-dev
6767
6868
- name: Install dependencies on macOS
6969
if: runner.os == 'macOS'
7070
run: |
71+
mkdir -p /opt/mports
72+
cd /opt/mports
73+
git clone https://github.com/macports/macports-base.git
74+
cd macports-base
75+
cd /opt/mports/macports-base
76+
./configure --enable-readline
77+
make
78+
sudo make install
79+
make distclean
7180
sudo port install libsdl2 libsdl2_image +universal
7281
7382
- name: Configure CMake

0 commit comments

Comments
 (0)