Skip to content

Commit 577a039

Browse files
ccawley2011SupSuper
authored andcommitted
CI: Add Linux builds to GitHub Actions
1 parent ae5277f commit 577a039

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,39 @@ jobs:
136136
run: |
137137
xcodebuild build -project scummvm.xcodeproj ${{ matrix.buildFlags }}
138138
ls
139+
ubuntu:
140+
name: Ubuntu
141+
runs-on: ${{ matrix.platform }}
142+
strategy:
143+
fail-fast: false
144+
matrix:
145+
include:
146+
- platform: ubuntu-latest
147+
sdlConfig: sdl2-config
148+
configFlags: --enable-c++11
149+
aptPackages: 'libsdl2-dev libsdl2-net-dev liba52-dev libjpeg-turbo8-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev libunity-dev'
150+
- platform: ubuntu-16.04
151+
sdlConfig: sdl-config
152+
configFlags: --disable-c++11
153+
aptPackages: 'libsdl1.2-dev libsdl-net1.2-dev liba52-dev libjpeg-turbo8-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev libunity-dev'
154+
env:
155+
SDL_CONFIG: ${{ matrix.sdlConfig }}
156+
steps:
157+
- name: Checkout
158+
uses: actions/checkout@v2
159+
- name: Install packages
160+
run: |
161+
sudo apt-get update
162+
sudo apt-get install ${{ matrix.aptPackages }}
163+
- name: Call configure
164+
run: |
165+
./configure --enable-all-engines ${{ matrix.configflags }}
166+
- name: Build scummvm
167+
run: |
168+
make -j2
169+
- name: Build tests
170+
run: |
171+
make test
172+
- name: Build devtools
173+
run: |
174+
make devtools

0 commit comments

Comments
 (0)