add apt-get update

Make sure to call apt-get update before apt-get install
This commit is contained in:
Magne Sjaastad 2023-01-13 12:58:29 +01:00
parent 3354630726
commit eaf3b970ad
3 changed files with 18 additions and 11 deletions

View File

@ -12,6 +12,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install Linux dependencies
if: "contains( matrix.os, 'ubuntu')"
run: |
sudo apt-get update
sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
@ -20,10 +26,6 @@ jobs:
dir: "${{ github.workspace }}/Qt/"
cache: true
- name: Install Linux dependencies
if: "contains( matrix.os, 'ubuntu')"
run: sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev
- name: Build AppFwk with Unit Tests
uses: lukka/run-cmake@v3
with:

View File

@ -128,6 +128,12 @@ jobs:
run: echo "${{github.workspace}}/buildcache/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
shell: pwsh
- name: Install Linux dependencies
if: "contains( matrix.config.os, 'ubuntu')"
run: |
sudo apt-get update
sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev libhdf5-dev
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
@ -136,10 +142,6 @@ jobs:
dir: "${{ github.workspace }}/Qt/"
cache: true
- name: Install Linux dependencies
if: "contains( matrix.config.os, 'ubuntu')"
run: sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev libhdf5-dev
- name: Set vcpkg's response file path used as part of cache's key.
uses: lukka/set-shell-env@master
with:

View File

@ -28,6 +28,12 @@ jobs:
with:
submodules: true
- name: Install Linux dependencies
if: "contains( matrix.config.os, 'ubuntu')"
run: |
sudo apt-get update
sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev libhdf5-dev
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
@ -36,9 +42,6 @@ jobs:
dir: "${{ github.workspace }}/Qt/"
cache: true
- name: Install Linux dependencies
if: "contains( matrix.config.os, 'ubuntu')"
run: sudo apt-get install libxkbcommon-x11-0 libgl1-mesa-dev mesa-common-dev libglfw3-dev libglu1-mesa-dev libhdf5-dev
- name: Set vcpkg's response file path used as part of cache's key.
uses: lukka/set-shell-env@master
with: