This commit is contained in:
Thomas Jentzsch 2022-11-27 13:10:22 +01:00
commit 4802981a3a
1 changed files with 6 additions and 7 deletions

View File

@ -14,11 +14,10 @@ jobs:
steps: steps:
- name: Check out the repository - name: Check out the repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: Install GCC 9 and SDL2 - name: Install SDL2
run: | run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update sudo apt-get update
sudo apt-get install g++-9 libsdl2-dev sudo apt-get install libsdl2-dev
- name: Build Stella - name: Build Stella
run: | run: |
./configure && make -j2 all ./configure && make -j2 all
@ -31,9 +30,9 @@ jobs:
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- name: Install SDL2 - name: Install SDL2
run: | run: |
curl https://www.libsdl.org/release/SDL2-2.0.10.tar.gz | tar xzf - curl https://www.libsdl.org/release/SDL2-2.26.0.tar.gz | tar xzf -
mkdir SDL2-2.0.10/build mkdir SDL2-2.26.0/build
cd SDL2-2.0.10/build cd SDL2-2.26.0/build
../configure && make -j3 && sudo make install ../configure && make -j3 && sudo make install
- name: Build Stella - name: Build Stella
run: | run: |
@ -47,7 +46,7 @@ jobs:
platform: [x64, Win32] platform: [x64, Win32]
env: env:
Platform: ${{ matrix.platform }} Platform: ${{ matrix.platform }}
SDL2_version: 2.24.0 SDL2_version: 2.26.0
steps: steps:
- name: Check out the repository - name: Check out the repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8