Browse Source

update workflows

pull/193/merge
nillerusr 2 years ago
parent
commit
ceda7d8ad0
  1. 10
      .github/workflows/build.yml
  2. 4
      .github/workflows/tests.yml
  3. 3
      scripts/build-ubuntu-i386.sh
  4. 5
      scripts/tests-ubuntu-i386.sh

10
.github/workflows/build.yml

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
build-linux-i386: build-linux-i386:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -13,7 +13,7 @@ jobs:
scripts/build-ubuntu-i386.sh scripts/build-ubuntu-i386.sh
build-linux-amd64: build-linux-amd64:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -22,7 +22,7 @@ jobs:
scripts/build-ubuntu-amd64.sh scripts/build-ubuntu-amd64.sh
build-android-armv7a: build-android-armv7a:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -75,7 +75,7 @@ jobs:
./waf.bat build ./waf.bat build
build-dedicated-linux-i386: build-dedicated-linux-i386:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -84,7 +84,7 @@ jobs:
scripts/build-ubuntu-i386.sh -d scripts/build-ubuntu-i386.sh -d
build-dedicated-linux-amd64: build-dedicated-linux-amd64:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

4
.github/workflows/tests.yml

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
tests-linux-i386: tests-linux-i386:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -13,7 +13,7 @@ jobs:
scripts/tests-ubuntu-i386.sh scripts/tests-ubuntu-i386.sh
tests-linux-amd64: tests-linux-amd64:
runs-on: ubuntu-18.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

3
scripts/build-ubuntu-i386.sh

@ -3,7 +3,8 @@
git submodule init && git submodule update git submodule init && git submodule update
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-get update sudo apt-get update
sudo apt-get install -f -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 sudo apt-get install -y aptitude
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
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug --disable-warns $* && PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug --disable-warns $* &&
./waf build ./waf build

5
scripts/tests-ubuntu-i386.sh

@ -1,9 +1,10 @@
#!/bin/sh install#!/bin/sh
git submodule init && git submodule update git submodule init && git submodule update
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt-get update sudo apt-get update
sudo apt-get install -f -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 sudo apt-get install -y aptitude
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
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --disable-warns --tests --prefix=out/ $* && PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T release --disable-warns --tests --prefix=out/ $* &&
./waf install && ./waf install &&

Loading…
Cancel
Save