1
0
Fork 0

Update package repositories before build

Without updating of package repos, build can fail due to circumstances
unrelated to the code.  This fixes e.g. experimental SDL2 builds.
This commit is contained in:
Patryk Obara 2019-09-27 14:29:56 +02:00 committed by Patryk Obara
parent 57aaed6399
commit f31f2c6909
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: sudo apt update
- name: "Install packages"
run: sudo apt-get install g++-9 libsdl1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev
- name: Build
@ -30,6 +31,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: sudo apt update
- name: "Install packages"
run: sudo apt-get install g++-8 libsdl1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev
- name: Build
@ -54,6 +56,7 @@ jobs:
os: [ubuntu-18.04, ubuntu-16.04]
steps:
- uses: actions/checkout@v1
- run: sudo apt update
- name: "Install packages"
run: sudo apt-get install libsdl1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev
- name: Build
@ -72,6 +75,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: sudo apt update
- name: "Install packages"
run: sudo apt-get install libsdl1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev
- name: Build
@ -93,6 +97,7 @@ jobs:
runs-on: macOS-10.14
steps:
- uses: actions/checkout@v1
- run: brew update
- name: "Install packages"
run: brew install automake libpng sdl sdl_net sdl_sound
- name: Build

View file

@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- run: sudo apt update
- name: "Install packages"
run: sudo apt-get install libsdl1.2-dev libsdl-net1.2-dev libsdl-sound1.2-dev python3-setuptools
- name: "Install scan-build (Python version)"