Run apt-get update before trying to install libgli and libsdl2 on linux build machines
Fixes this issue https://github.com/actions/runner-images/issues/5562
This commit is contained in:
parent
04ea2a57b1
commit
d0b2ed8ff5
8
.github/workflows/Build.yaml
vendored
8
.github/workflows/Build.yaml
vendored
@ -89,7 +89,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install opengl and SDL
|
- name: Install opengl and SDL
|
||||||
run: sudo apt-get install -y libgl1-mesa-dev libsdl2-dev
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libgl1-mesa-dev libsdl2-dev
|
||||||
|
|
||||||
- name: Download & Install premake
|
- name: Download & Install premake
|
||||||
working-directory: RecastDemo
|
working-directory: RecastDemo
|
||||||
@ -119,7 +121,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install opengl and SDL
|
- name: Install opengl and SDL
|
||||||
run: sudo apt-get install -y libgl1-mesa-dev libsdl2-dev
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libgl1-mesa-dev libsdl2-dev
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.conf}}
|
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.conf}}
|
||||||
|
4
.github/workflows/Tests.yaml
vendored
4
.github/workflows/Tests.yaml
vendored
@ -47,7 +47,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install opengl and SDL
|
- name: Install opengl and SDL
|
||||||
run: sudo apt-get install -y libgl1-mesa-dev libsdl2-dev
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libgl1-mesa-dev libsdl2-dev
|
||||||
|
|
||||||
- name: Download & Install premake
|
- name: Download & Install premake
|
||||||
working-directory: RecastDemo
|
working-directory: RecastDemo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user