automatic compilation and github releases#86
automatic compilation and github releases#86AcrylonitrileButadieneStyrene wants to merge 6 commits into
Conversation
| RUN autoreconf -fi | ||
| RUN bash -c "source /root/workdir/buildscripts/emscripten/emsdk-portable/emsdk_env.sh; \ | ||
| emconfigure ./configure --prefix=/root/workdir/buildscripts/emscripten --disable-shared" |
There was a problem hiding this comment.
liblcf could be built with cmake instead
| docker run -v $(pwd):/root/workdir/ynoengine:rw -e PLAYER_PSK="${{ secrets.PSK }}" ghcr.io/${REPO,,}:master | ||
| docker run -v $(pwd):/root/workdir/ynoengine:rw -e PLAYER_PSK="${{ secrets.PSK }}" -e NO_SIMD=1 ghcr.io/${REPO,,}:master | ||
| echo "TAG=$(date +'%Y-%m-%d.%H.%M.%S')" >> $GITHUB_ENV | ||
| - uses: softprops/action-gh-release@v3 |
There was a problem hiding this comment.
since we most likely build local then deploy straight to server this step is probably not needed; could provide instructions to build local instead
There was a problem hiding this comment.
Actually an artifact upload should suffice in this case
| ) | ||
|
|
||
| # Platform setup | ||
| if(NINTENDO_3DS) |
There was a problem hiding this comment.
Don't modify this file too much, it will make it harder to merge with upstream in the future
| CMD bash -c "source /root/workdir/buildscripts/emscripten/emsdk-portable/emsdk_env.sh; \ | ||
| cd /root/workdir/ynoengine; \ | ||
| if [[ \"$NO_SIMD\" -eq 1 ]]; then \ | ||
| ./cmake_build_nosimd.sh; \ |
There was a problem hiding this comment.
We should deprecate these scripts in favor of CMake presets
| RUN bash ./1_download_library.sh | ||
| RUN apt-get install -y autoconf pkg-config libtool build-essential cmake meson | ||
| RUN bash ./2_build_toolchain.sh | ||
| RUN bash ./3_cleanup.sh |
There was a problem hiding this comment.
You can run 0_build_everything instead and also specify BUILD_LIBLCF as well to skip building liblcf yourself
|
will remake this pr using https://github.com/yynoproject/buildscripts soon |
adds a docker file for setting up the build tools, when ran acts like a compiler (source is passed in with -v)
adds configuring the PSK through an env var (which can be passed into docker with -e)
unrelated changes:
after merge setup steps:
PSK, including the braces around the bytes