Skip to content

Commit

Permalink
workflow: attempt to fix new build
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigTag committed Jan 23, 2025
1 parent 5b37a9d commit c114e42
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
#!/bin/bash

cd "$(dirname "$0")"

echo "Installing cargo-msfs"

# Required for compilation
cargo install --git https://github.com/navigraph/cargo-msfs

cargo-msfs install msfs2020

cd ..

echo "Starting build from ${pwd}"

# Flags needed to get sqlite3 to work in the sim
export LIBSQLITE3_FLAGS="-DSQLITE_OMIT_SHARED_CACHE -D_LARGEFILE64_SOURCE"

cargo-msfs build msfs2020 -i .. -o ../out/msfs_navigation_data_interface.wasm
cargo-msfs build msfs2020 -o ./out/msfs_navigation_data_interface.wasm

0 comments on commit c114e42

Please sign in to comment.