Skip to content

Commit fbea4da

Browse files
committed
WIP
1 parent 2a8cfbb commit fbea4da

File tree

1 file changed

+3
-55
lines changed

1 file changed

+3
-55
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -2,62 +2,23 @@ name: CI
22
on: [ push, pull_request, workflow_dispatch ]
33

44
jobs:
5-
build-linux:
6-
name: Linux polymost=${{ matrix.use_polymost }} gl=${{ matrix.use_opengl }} nogtk=${{ matrix.without_gtk || 1 }}
7-
runs-on: ubuntu-latest
8-
strategy:
9-
fail-fast: false
10-
matrix:
11-
use_polymost: [ 0, 1 ]
12-
use_opengl: [ 0, 1 ]
13-
exclude:
14-
- use_polymost: 1
15-
use_opengl: 0
16-
include:
17-
- use_polymost: 1
18-
use_opengl: 3
19-
- use_polymost: 1
20-
use_opengl: 'USE_GLES2'
21-
without_gtk: '0'
22-
23-
steps:
24-
- name: Checkout code
25-
uses: actions/checkout@v4
26-
- name: Install dependencies
27-
run: |
28-
sudo apt-get update
29-
sudo apt-get install -y libsdl2-dev libgtk-3-dev
30-
- name: Make
31-
run: |
32-
cd "$GITHUB_WORKSPACE"
33-
make USE_POLYMOST=${{ matrix.use_polymost }} \
34-
USE_OPENGL=${{ matrix.use_opengl }} \
35-
WITHOUT_GTK=${{ matrix.without_gtk || 1 }} \
36-
USE_ASM=0 \
37-
all
385

396
build-windows:
407
name: Windows polymost=${{ matrix.use_polymost }} gl=${{ matrix.use_opengl }}
418
runs-on: windows-latest
429
strategy:
4310
fail-fast: false
4411
matrix:
45-
use_polymost: [ 0, 1 ]
46-
use_opengl: [ 0, 1 ]
47-
exclude:
48-
- use_polymost: 1
49-
use_opengl: 0
50-
include:
51-
- use_polymost: 1
52-
use_opengl: 3
12+
use_polymost: [ 0 ]
13+
use_opengl: [ 0 ]
5314

5415
steps:
5516
- name: Checkout code
5617
uses: actions/checkout@v4
5718
- name: Setup MSVC
5819
uses: ilammy/msvc-dev-cmd@v1
5920
with:
60-
sdk: 10.0.19041.0
21+
sdk: 10
6122
- name: Add XAudio2 redistributable
6223
run: vcpkg install xaudio2redist:x64-windows
6324
- name: Make
@@ -67,16 +28,3 @@ jobs:
6728
echo USE_OPENGL=${{ matrix.use_opengl }} >> Makefile.msvcuser
6829
echo VCPKG_ROOT=%VCPKG_INSTALLATION_ROOT% > kenbuild\Makefile.msvcuser
6930
nmake /f Makefile.msvc all
70-
71-
build-macos:
72-
name: macOS
73-
runs-on: macos-latest
74-
75-
steps:
76-
- name: Checkout code
77-
uses: actions/checkout@v4
78-
- name: Build
79-
run: |
80-
set -xe
81-
cd $GITHUB_WORKSPACE/xcode
82-
xcodebuild -project game.xcodeproj -alltargets

0 commit comments

Comments
 (0)