nillerusr
2 years ago
committed by
GitHub
5 changed files with 72 additions and 0 deletions
@ -0,0 +1,37 @@
@@ -0,0 +1,37 @@
|
||||
name: Build tests |
||||
|
||||
on: |
||||
push: |
||||
branches: |
||||
- "*" |
||||
pull_request: |
||||
branches: |
||||
- "*" |
||||
|
||||
jobs: |
||||
build-linux-32: |
||||
runs-on: ubuntu-18.04 |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- name: Build linux-i386 |
||||
run: | |
||||
scripts/build-ubuntu-i386.sh |
||||
|
||||
build-linux-64: |
||||
runs-on: ubuntu-18.04 |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- name: Build linux-amd64 |
||||
run: | |
||||
scripts/build-ubuntu-amd64.sh |
||||
|
||||
build-android-armv7a: |
||||
runs-on: ubuntu-18.04 |
||||
|
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
- name: Build android-armv7a |
||||
run: | |
||||
scripts/build-android-armv7a.sh |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh |
||||
|
||||
git submodule init && git submodule update |
||||
wget https://dl.google.com/android/repository/android-ndk-r10e-linux-x86_64.zip -o /dev/null |
||||
unzip android-ndk-r10e-linux-x86_64.zip |
||||
export ANDROID_NDK_HOME=$PWD/android-ndk-r10e/ |
||||
export NDK_HOME=$PWD/android-ndk-r10e/ |
||||
./waf configure -T debug --android=armeabi-v7a-hard,4.9,21 --togles --disable-warns && |
||||
./waf build |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh |
||||
|
||||
git submodule init && git submodule update |
||||
sudo apt-get update |
||||
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 |
||||
|
||||
./waf configure -T debug --64bits --disable-warns && |
||||
./waf build |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh |
||||
|
||||
git submodule init && git submodule update |
||||
sudo dpkg --add-architecture i386 |
||||
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 |
||||
|
||||
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug --disable-warns && |
||||
./waf build |
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh |
||||
|
||||
git submodule init && git submodule update |
||||
sudo dpkg --add-architecture i386 |
||||
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 |
||||
|
||||
PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./waf configure -T debug |
||||
./waf build --target=engine |
Loading…
Reference in new issue