Skip to content

Commit 1f403fd

Browse files
authored
Update build.yaml
1 parent a281915 commit 1f403fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
make -j 4
3939
sudo make install
4040
ls -l
41+
ls -l *
42+
cp ../*.h ../IMUDrivers/
4143
cd $DD
4244
4345
- name: Build the project
@@ -48,7 +50,9 @@ jobs:
4850
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
4951
pwd
5052
ls
53+
if [ -d RTIMULib2 ]; then ln -s ${HOME}/work/bbn_rust_sandbox/bbn_rust_sandbox/rust_i2c_imu/RTIMULib2/RTIMULib ${HOME}/.cargo/registry/src/RTIMULib; fi
54+
if [ -d RTIMULib2 ]; then ln -s ${HOME}/work/bbn_rust_sandbox/bbn_rust_sandbox/rust_i2c_imu/RTIMULib2/RTIMULib/IMUDrivers ${HOME}/.cargo/registry/src/IMUDrivers; fi
55+
if [ -d RTIMULib2 ]; then ln -s ${HOME}/work/bbn_rust_sandbox/bbn_rust_sandbox/rust_i2c_imu/RTIMULib2/RTIMULib/IMUDrivers ${HOME}/.cargo/registry/src/IMUDrivers/IMUDrivers; fi
5156
RUST_BACKTRACE=full cargo build --release --target aarch64-unknown-linux-gnu
5257
cd ..
5358
done
54-

0 commit comments

Comments
 (0)