Skip to content

Commit

Permalink
idfk
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Dec 8, 2023
1 parent 54c4e6a commit 92514ea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ export PYTHON_VERSION=3.7.9
export AUXMOS_REPO=https://github.com/Putnam3145/auxmos

#auxmos version
export AUXMOS_VERSION=a134e848365d0cf2c1e60ee9b97dc16ed7262bb6
export AUXMOS_VERSION=fdbc1751cb76a31299c5d3cd0988c85e8c070f9b
11 changes: 7 additions & 4 deletions tools/ci/build_auxmos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail
source dependencies.sh

mkdir -p "$HOME/auxmos"
cd "$HOME/auxmos"
pushd "$HOME/auxmos"

if [ ! -d .git ]
then
Expand All @@ -15,9 +15,12 @@ fi
git fetch origin --depth=1 $AUXMOS_VERSION
git reset --hard FETCH_HEAD

sudo apt-get install g++-multilib -y
sudo apt-get install libstdc++6:i386 gcc-multilib g++-7 g++-7-multilib zlib1g:i386 libssl1.1 libssl1.1:i386 -y
rustup target add i686-unknown-linux-gnu

env PKG_CONFIG_ALLOW_CROSS=1 cargo rustc --release --target=i686-unknown-linux-gnu --features "all_reaction_hooks,katmos"
cp target/i686-unknown-linux-gnu/release/libauxmos.so $GITHUB_WORKSPACE/libauxmos.so
chmod 755 $GITHUB_WORKSPACE/libauxmos.so
cp target/i686-unknown-linux-gnu/release/libauxmos.so ~/.byond/bin/libauxmos.so
chmod +x ~/.byond/bin/libauxmos.so
ldd ~/.byond/bin/libauxmos.so

popd

0 comments on commit 92514ea

Please sign in to comment.