88 branches :
99 - ' *'
1010env :
11- CACHE_VERSION : 5
11+ CACHE_VERSION : 6
1212 DEBIAN_FRONTEND : noninteractive
1313 HOMEBREW_NO_AUTO_UPDATE : 1
1414 LIBGL_ALWAYS_SOFTWARE : ' true'
@@ -297,6 +297,39 @@ jobs:
297297 path : |
298298 *-macOS.pkg
299299
300+ modduo :
301+ runs-on : ubuntu-20.04
302+ steps :
303+ - uses : actions/checkout@v2
304+ with :
305+ submodules : recursive
306+ - name : Set up cache
307+ uses : actions/cache@v2
308+ with :
309+ path : |
310+ ~/mod-workdir
311+ key : modduo-static-v${{ env.CACHE_VERSION }}
312+ - name : Set up dependencies
313+ run : |
314+ sudo apt-get update -qq
315+ sudo apt-get install -yqq acl bc curl cvs git mercurial rsync subversion wget bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip automake binutils build-essential cpio libtool libncurses-dev pkg-config python libtool-bin
316+ - name : Bootstrap toolchain
317+ run : |
318+ git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
319+ sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
320+ $(pwd)/deps/mod-plugin-builder/bootstrap.sh modduo-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduo-static
321+ - name : Build for modduo
322+ run : |
323+ CFLAGS="-ffat-lto-objects" CXXFLAGS="-ffat-lto-objects" make modduo HEADLESS=true WITH_LTO=true -j $(nproc)
324+ - name : Pack binaries
325+ run : |
326+ tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
327+ - uses : actions/upload-artifact@v2
328+ with :
329+ name : ${{ github.event.repository.name }}-modduo-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
330+ path : |
331+ *.tar.gz
332+
300333 modduox :
301334 runs-on : ubuntu-20.04
302335 steps :
@@ -308,7 +341,7 @@ jobs:
308341 with :
309342 path : |
310343 ~/mod-workdir
311- key : modduox-static- v${{ env.CACHE_VERSION }}
344+ key : modduox-v${{ env.CACHE_VERSION }}
312345 - name : Set up dependencies
313346 run : |
314347 sudo apt-get update -qq
@@ -318,6 +351,50 @@ jobs:
318351 git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
319352 sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
320353 $(pwd)/deps/mod-plugin-builder/bootstrap.sh modduox-static minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh modduox-static
354+ - name : Build for modduox
355+ run : |
356+ CFLAGS="-ffat-lto-objects" CXXFLAGS="-ffat-lto-objects" make modduox HEADLESS=true WITH_LTO=true -j $(nproc)
357+ - name : Pack binaries
358+ run : |
359+ tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
360+ - uses : actions/upload-artifact@v2
361+ with :
362+ name : ${{ github.event.repository.name }}-modduox-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
363+ path : |
364+ *.tar.gz
365+
366+ moddwarf :
367+ runs-on : ubuntu-20.04
368+ steps :
369+ - uses : actions/checkout@v2
370+ with :
371+ submodules : recursive
372+ - name : Set up cache
373+ uses : actions/cache@v2
374+ with :
375+ path : |
376+ ~/mod-workdir
377+ key : moddwarf-v${{ env.CACHE_VERSION }}
378+ - name : Set up dependencies
379+ run : |
380+ sudo apt-get update -qq
381+ sudo apt-get install -yqq acl bc curl cvs git mercurial rsync subversion wget bison bzip2 flex gawk gperf gzip help2man nano perl patch tar texinfo unzip automake binutils build-essential cpio libtool libncurses-dev pkg-config python libtool-bin
382+ - name : Bootstrap toolchain
383+ run : |
384+ git clone --depth=1 https://github.com/moddevices/mod-plugin-builder.git deps/mod-plugin-builder
385+ sed -i "s/CT_LOG_PROGRESS_BAR=y/CT_LOG_PROGRESS_BAR=n/" deps/mod-plugin-builder/toolchain/*.config
386+ $(pwd)/deps/mod-plugin-builder/bootstrap.sh moddwarf minimal && $(pwd)/deps/mod-plugin-builder/.clean-install.sh moddwarf
387+ - name : Build for moddwarf
388+ run : |
389+ CFLAGS="-ffat-lto-objects" CXXFLAGS="-ffat-lto-objects" make moddwarf HEADLESS=true WITH_LTO=true -j $(nproc)
390+ - name : Pack binaries
391+ run : |
392+ tar -c -h --hard-dereference -z -f ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}.tar.gz -C bin $(ls bin | grep lv2)
393+ - uses : actions/upload-artifact@v2
394+ with :
395+ name : ${{ github.event.repository.name }}-moddwarf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
396+ path : |
397+ *.tar.gz
321398
322399 win32 :
323400 runs-on : ubuntu-20.04
0 commit comments