Skip to content

Commit 51231c3

Browse files
committed
fix build scripts for workflow
1 parent ab527be commit 51231c3

8 files changed

+10
-10
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Build windows-i386
3939
run: |
4040
git submodule init && git submodule update
41-
./waf.bat configure -T debug
41+
./waf.bat configure -T debug --32bits
4242
./waf.bat build
4343
4444
build-windows-amd64:
@@ -49,7 +49,7 @@ jobs:
4949
- name: Build windows-amd64
5050
run: |
5151
git submodule init && git submodule update
52-
./waf.bat configure -T debug -8
52+
./waf.bat configure -T debug
5353
./waf.bat build
5454
5555
build-dedicated-windows-i386:

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Run tests windows-i386
3939
run: |
4040
git submodule init && git submodule update
41-
./waf.bat configure -T release --tests --prefix=out/
41+
./waf.bat configure -T release --tests --prefix=out/ --32bits
4242
./waf.bat install
4343
cd out
4444
$env:Path = "bin";
@@ -52,7 +52,7 @@ jobs:
5252
- name: Run tests windows-amd64
5353
run: |
5454
git submodule init && git submodule update
55-
./waf.bat configure -T release --tests --prefix=out/ -8
55+
./waf.bat configure -T release --tests --prefix=out/
5656
./waf.bat install
5757
cd out
5858
$env:Path = "bin";

scripts/build-macos-amd64.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ git submodule init && git submodule update
44

55
brew install sdl2
66

7-
./waf configure -T debug --64bits --disable-warns $* &&
7+
./waf configure -T debug --disable-warns $* &&
88
./waf build

scripts/build-ubuntu-amd64.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ git submodule init && git submodule update
44
sudo apt-get update
55
sudo apt-get install -f -y libopenal-dev g++-multilib gcc-multilib libpng-dev libjpeg-dev libfreetype6-dev libfontconfig1-dev libcurl4-gnutls-dev libsdl2-dev zlib1g-dev libbz2-dev libedit-dev
66

7-
./waf configure -T debug --64bits --disable-warns $* &&
7+
./waf configure -T debug --disable-warns $* &&
88
./waf build

scripts/build-ubuntu-i386.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ sudo apt-get update
66
sudo apt-get install -y aptitude
77
sudo aptitude install -y libopenal-dev:i386 g++-multilib gcc-multilib libpng-dev:i386 libjpeg-dev:i386 libfreetype6-dev:i386 libfontconfig1-dev:i386 libcurl4-gnutls-dev:i386 libsdl2-dev:i386 zlib1g-dev:i386 libbz2-dev:i386 libedit-dev:i386
88

9-
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug --disable-warns $* &&
9+
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug --disable-warns --32bits $* &&
1010
./waf build

scripts/tests-macos-amd64.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
git submodule init && git submodule update
4-
./waf configure -T release --sanitize=address,undefined --disable-warns --tests -8 --prefix=out/ $* &&
4+
./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
55
./waf install &&
66
cd out &&
77
DYLD_LIBRARY_PATH=bin/ ./unittest || exit 1

scripts/tests-ubuntu-amd64.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ git submodule init && git submodule update
44
sudo apt-get update
55
sudo apt-get install -y libbz2-dev
66

7-
./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ --64bits $* &&
7+
./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
88
./waf install &&
99
cd out &&
1010
LD_LIBRARY_PATH=bin/ ./unittest

scripts/tests-ubuntu-i386.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sudo dpkg --add-architecture i386
55
sudo apt-get update
66
sudo apt-get install -y g++-multilib gcc-multilib libbz2-dev:i386
77

8-
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
8+
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --32bits --sanitize=address,undefined --disable-warns --tests --prefix=out/ $* &&
99
./waf install &&
1010
cd out &&
1111
LD_LIBRARY_PATH=bin/ ./unittest

0 commit comments

Comments
 (0)