mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-24 08:23:46 +01:00
Fix package install in CI
shoutout to github for shipping broken OS images
This commit is contained in:
parent
7fb3b9edd6
commit
8a7333ef49
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -7,19 +7,21 @@ on:
|
|||||||
- '**.[ch]'
|
- '**.[ch]'
|
||||||
- '**.cpp'
|
- '**.cpp'
|
||||||
- '**/CMakeLists.txt'
|
- '**/CMakeLists.txt'
|
||||||
|
- 'util/ci/**'
|
||||||
- '.github/workflows/**.yml'
|
- '.github/workflows/**.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '**.[ch]'
|
- '**.[ch]'
|
||||||
- '**.cpp'
|
- '**.cpp'
|
||||||
- '**/CMakeLists.txt'
|
- '**/CMakeLists.txt'
|
||||||
|
- 'util/ci/**'
|
||||||
- '.github/workflows/**.yml'
|
- '.github/workflows/**.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gcc:
|
gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source util/ci/script.sh
|
source util/ci/script.sh
|
||||||
@ -41,7 +43,7 @@ jobs:
|
|||||||
clang:
|
clang:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: |
|
run: |
|
||||||
source util/ci/script.sh
|
source util/ci/script.sh
|
||||||
|
@ -4,7 +4,8 @@ install_linux_deps() {
|
|||||||
local pkgs=(cmake libgd-dev libsqlite3-dev libleveldb-dev libpq-dev libhiredis-dev libzstd-dev)
|
local pkgs=(cmake libgd-dev libsqlite3-dev libleveldb-dev libpq-dev libhiredis-dev libzstd-dev)
|
||||||
|
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y --no-install-recommends ${pkgs[@]} "$@"
|
sudo apt-get remove -y 'libgd3' nginx || : # ????
|
||||||
|
sudo apt-get install -y --no-install-recommends "${pkgs[@]}" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_build() {
|
run_build() {
|
||||||
|
Loading…
Reference in New Issue
Block a user