mirror of https://github.com/stella-emu/stella.git
A stab at fixing linux.
This commit is contained in:
parent
18ce2ebe42
commit
b9250e2c9c
|
@ -11,16 +11,24 @@ jobs:
|
||||||
linux:
|
linux:
|
||||||
name: Linux
|
name: Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
SDL3_VERSION: 3.2.14
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Check out the repository
|
||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
|
||||||
- name: Install SDL3
|
- name: Install SDL3
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
wget https://github.com/libsdl-org/SDL/releases/download/release-${SDL3_VERSION}/SDL3-${SDL3_VERSION}.tar.gz
|
||||||
sudo apt-get install libsdl3-dev
|
tar -xzf SDL3-${SDL3_VERSION}.tar.gz
|
||||||
|
mv SDL3-${SDL3_VERSION} SDL3
|
||||||
|
cd SDL3
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX="`pwd`/prefix" -DSDL_UNIX_CONSOLE_BUILD=ON .
|
||||||
|
make -j2 install
|
||||||
- name: Build Stella
|
- name: Build Stella
|
||||||
run: |
|
run: |
|
||||||
./configure && make -j2 all
|
CXXFLAGS="-I `pwd`/../SDL3/prefix/include -O2 -g" LDFLAGS="-L `pwd`/../SDL3/prefix/lib"
|
||||||
|
./configure
|
||||||
|
make -j2 all
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
name: macOS
|
name: macOS
|
||||||
|
|
Loading…
Reference in New Issue