Skip to content

Commit 0df0aef

Browse files
authored
disable linux 32 bit builds for now (#467)
1 parent 8c55da4 commit 0df0aef

File tree

2 files changed

+108
-108
lines changed

2 files changed

+108
-108
lines changed

.github/workflows/artifacts.yml

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -62,66 +62,66 @@ jobs:
6262
- name: Pack cache
6363
run: cd ~ && tar cJf ccache.tar.xz .cache/ccache
6464

65-
linux32:
66-
strategy:
67-
fail-fast: false
68-
matrix:
69-
include:
70-
- name: SDL 2 (OGL)
71-
flags: '-DREMCPE_PLATFORM=sdl2 -DREMCPE_GFX_API=OGL'
72-
packages: 'libsdl2-dev:i386'
73-
- name: SDL 2 (OGL + Shaders)
74-
flags: '-DREMCPE_PLATFORM=sdl2 -DREMCPE_GFX_API=OGL_SHADERS'
75-
packages: 'libsdl2-dev:i386'
76-
name: Linux 32-bit (${{ matrix.name }})
77-
runs-on: ubuntu-24.04
78-
steps:
79-
- name: Get Time
80-
id: get-time
81-
run: echo "time=$(date -u '+%Y-%m-%d-%H:%M:%S')" >> $GITHUB_OUTPUT
82-
- uses: actions/cache@v5
83-
with:
84-
path: ~/ccache.tar.xz
85-
key: linux32-artifact-${{ matrix.name }}-${{ steps.get-time.outputs.time }}
86-
restore-keys: linux32-artifact-${{ matrix.name }}-
87-
- name: Unpack cache
88-
run: cd ~ && [ -f ccache.tar.xz ] && tar xf ccache.tar.xz || true
89-
- name: Checkout Repository
90-
uses: actions/checkout@v6
91-
with:
92-
submodules: true
93-
- name: Install Dependencies
94-
run: |
95-
sudo dpkg --add-architecture i386
96-
sudo apt-get update
97-
sudo apt-get install --no-install-recommends -y \
98-
build-essential \
99-
cmake ninja-build \
100-
ccache \
101-
gcc-multilib g++-multilib \
102-
libopenal-dev:i386 \
103-
zlib1g-dev:i386 \
104-
${{ matrix.packages }}
105-
- name: Build
106-
run: |
107-
mkdir build
108-
cd build
109-
cmake .. -GNinja \
110-
-DCMAKE_BUILD_TYPE=Release \
111-
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
112-
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
113-
-DCMAKE_C_FLAGS='-m32' \
114-
-DCMAKE_CXX_FLAGS='-m32' \
115-
${{ matrix.flags }}
116-
cmake --build .
117-
- uses: actions/upload-artifact@v6
118-
with:
119-
name: Linux 32-bit (${{ matrix.name }})
120-
path: |
121-
build/reminecraftpe
122-
build/assets
123-
- name: Pack cache
124-
run: cd ~ && tar cJf ccache.tar.xz .cache/ccache
65+
# linux32:
66+
# strategy:
67+
# fail-fast: false
68+
# matrix:
69+
# include:
70+
# - name: SDL 2 (OGL)
71+
# flags: '-DREMCPE_PLATFORM=sdl2 -DREMCPE_GFX_API=OGL'
72+
# packages: 'libsdl2-dev:i386'
73+
# - name: SDL 2 (OGL + Shaders)
74+
# flags: '-DREMCPE_PLATFORM=sdl2 -DREMCPE_GFX_API=OGL_SHADERS'
75+
# packages: 'libsdl2-dev:i386'
76+
# name: Linux 32-bit (${{ matrix.name }})
77+
# runs-on: ubuntu-24.04
78+
# steps:
79+
# - name: Get Time
80+
# id: get-time
81+
# run: echo "time=$(date -u '+%Y-%m-%d-%H:%M:%S')" >> $GITHUB_OUTPUT
82+
# - uses: actions/cache@v5
83+
# with:
84+
# path: ~/ccache.tar.xz
85+
# key: linux32-artifact-${{ matrix.name }}-${{ steps.get-time.outputs.time }}
86+
# restore-keys: linux32-artifact-${{ matrix.name }}-
87+
# - name: Unpack cache
88+
# run: cd ~ && [ -f ccache.tar.xz ] && tar xf ccache.tar.xz || true
89+
# - name: Checkout Repository
90+
# uses: actions/checkout@v6
91+
# with:
92+
# submodules: true
93+
# - name: Install Dependencies
94+
# run: |
95+
# sudo dpkg --add-architecture i386
96+
# sudo apt-get update
97+
# sudo apt-get install --no-install-recommends -y \
98+
# build-essential \
99+
# cmake ninja-build \
100+
# ccache \
101+
# gcc-multilib g++-multilib \
102+
# libopenal-dev:i386 \
103+
# zlib1g-dev:i386 \
104+
# ${{ matrix.packages }}
105+
# - name: Build
106+
# run: |
107+
# mkdir build
108+
# cd build
109+
# cmake .. -GNinja \
110+
# -DCMAKE_BUILD_TYPE=Release \
111+
# -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
112+
# -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
113+
# -DCMAKE_C_FLAGS='-m32' \
114+
# -DCMAKE_CXX_FLAGS='-m32' \
115+
# ${{ matrix.flags }}
116+
# cmake --build .
117+
# - uses: actions/upload-artifact@v6
118+
# with:
119+
# name: Linux 32-bit (${{ matrix.name }})
120+
# path: |
121+
# build/reminecraftpe
122+
# build/assets
123+
# - name: Pack cache
124+
# run: cd ~ && tar cJf ccache.tar.xz .cache/ccache
125125

126126
macos:
127127
strategy:

.github/workflows/publish.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -50,54 +50,54 @@ jobs:
5050
with:
5151
asset_paths: '["ReMCPE-Linux-x86_64.tar.gz"]'
5252

53-
linux32:
54-
strategy:
55-
fail-fast: false
56-
matrix:
57-
include:
58-
- name: SDL 2
59-
flags: '-DREMCPE_PLATFORM=sdl2 -DREMCPE_GFX_API=OGL'
60-
packages: 'libsdl2-dev:i386'
61-
name: Linux 32-bit (${{ matrix.name }})
62-
runs-on: ubuntu-24.04
63-
steps:
64-
- name: Checkout Repository
65-
uses: actions/checkout@v6
66-
with:
67-
submodules: true
68-
- name: Install Dependencies
69-
run: |
70-
sudo dpkg --add-architecture i386
71-
sudo apt-get update
72-
sudo apt-get install --no-install-recommends -y \
73-
build-essential \
74-
cmake ninja-build \
75-
gcc-multilib g++-multilib \
76-
libopenal-dev:i386 \
77-
zlib1g-dev:i386 \
78-
${{ matrix.packages }}
79-
- name: Build
80-
run: |
81-
mkdir build
82-
cd build
83-
cmake .. -GNinja \
84-
-DCMAKE_BUILD_TYPE=Release \
85-
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
86-
-DCMAKE_C_FLAGS='-m32' \
87-
-DCMAKE_CXX_FLAGS='-m32' \
88-
${{ matrix.flags }}
89-
cmake --build .
90-
strip reminecraftpe
91-
- name: Pack release
92-
run: |
93-
mkdir ReMCPE
94-
mv game/assets build/reminecraftpe ReMCPE
95-
tar -czf ReMCPE-Linux-x86.tar.gz ReMCPE
96-
- uses: alexellis/upload-assets@0.4.1
97-
env:
98-
GITHUB_TOKEN: ${{ github.token }}
99-
with:
100-
asset_paths: '["ReMCPE-Linux-x86.tar.gz"]'
53+
# linux32:
54+
# strategy:
55+
# fail-fast: false
56+
# matrix:
57+
# include:
58+
# - name: SDL 2
59+
# flags: '-DREMCPE_PLATFORM=sdl2 -DREMCPE_GFX_API=OGL'
60+
# packages: 'libsdl2-dev:i386'
61+
# name: Linux 32-bit (${{ matrix.name }})
62+
# runs-on: ubuntu-24.04
63+
# steps:
64+
# - name: Checkout Repository
65+
# uses: actions/checkout@v6
66+
# with:
67+
# submodules: true
68+
# - name: Install Dependencies
69+
# run: |
70+
# sudo dpkg --add-architecture i386
71+
# sudo apt-get update
72+
# sudo apt-get install --no-install-recommends -y \
73+
# build-essential \
74+
# cmake ninja-build \
75+
# gcc-multilib g++-multilib \
76+
# libopenal-dev:i386 \
77+
# zlib1g-dev:i386 \
78+
# ${{ matrix.packages }}
79+
# - name: Build
80+
# run: |
81+
# mkdir build
82+
# cd build
83+
# cmake .. -GNinja \
84+
# -DCMAKE_BUILD_TYPE=Release \
85+
# -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
86+
# -DCMAKE_C_FLAGS='-m32' \
87+
# -DCMAKE_CXX_FLAGS='-m32' \
88+
# ${{ matrix.flags }}
89+
# cmake --build .
90+
# strip reminecraftpe
91+
# - name: Pack release
92+
# run: |
93+
# mkdir ReMCPE
94+
# mv game/assets build/reminecraftpe ReMCPE
95+
# tar -czf ReMCPE-Linux-x86.tar.gz ReMCPE
96+
# - uses: alexellis/upload-assets@0.4.1
97+
# env:
98+
# GITHUB_TOKEN: ${{ github.token }}
99+
# with:
100+
# asset_paths: '["ReMCPE-Linux-x86.tar.gz"]'
101101

102102
macos:
103103
strategy:

0 commit comments

Comments
 (0)