File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 2828 with :
2929 python-version : ' 3.12'
3030 architecture : ' x64'
31- - run : cargo test --features rp
32- - run : cargo test --features jem
31+ - name : Install ARM cross-compiler and C libraries
32+ run : |
33+ sudo apt-get update
34+ sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
35+ # If icasadi_rosenbrock or other deps need C++:
36+ # sudo apt-get install -y g++-arm-linux-gnueabihf
37+ - name : Build for arm-unknown-linux-gnueabihf
38+ # Set environment variables for the cc crate
39+ env :
40+ CC_arm_unknown_linux_gnueabihf : arm-linux-gnueabihf-gcc
41+ AR_arm_unknown_linux_gnueabihf : arm-linux-gnueabihf-ar
42+ # If C++ is involved and you installed g++-arm-linux-gnueabihf:
43+ # CXX_arm_unknown_linux_gnueabihf: arm-linux-gnueabihf-g++
44+ run : cargo build --target=arm-unknown-linux-gnueabihf --verbose
45+ # - run: cargo test --features rp
46+ # - run: cargo test --features jem
3347 - run : bash ./ci/script.sh
3448
3549 ci_macos :
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ regular_test() {
5050
5151 # --- run the tests
5252 export PYTHONPATH=.
53- python -W ignore test/test_constraints.py -v
54- python -W ignore test/test.py -v
53+ # python -W ignore test/test_constraints.py -v
54+ # python -W ignore test/test.py -v
5555 python -W ignore test/test_raspberry_pi.py -v
5656
5757
You can’t perform that action at this time.
0 commit comments