File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,23 +4,35 @@ name: Remarkable Build
44
55jobs :
66 remarkable_build :
7+ strategy :
8+ matrix :
9+ target :
10+ - armv7-unknown-linux-gnueabihf
11+ - aarch64-unknown-linux-gnu
12+ include :
13+ - target : armv7-unknown-linux-gnueabihf
14+ name : ghostwriter
15+ - target : aarch64-unknown-linux-gnu
16+ name : ghostwriter-rmpp-broken
717 name : Remarkable Build
818 runs-on : ubuntu-latest
919 steps :
1020 - uses : actions/checkout@v2
1121 - uses : actions-rs/toolchain@v1
1222 with :
1323 toolchain : stable
14- target : armv7-unknown-linux-gnueabihf
24+ target : ${{ matrix.target }}
1525 override : true
1626 - uses : actions-rs/cargo@v1
1727 with :
1828 use-cross : true
1929 command : build
20- args : --target armv7-unknown-linux-gnueabihf --release
30+ args : --release --target ${{ matrix.target }}
2131 - name : Release
2232 uses : softprops/action-gh-release@v2
2333 if : startsWith(github.ref, 'refs/tags/')
2434 with :
35+ name : ${{ matrix.name }}
2536 files : |
26- target/armv7-unknown-linux-gnueabihf/release/ghostwriter
37+ target/${{ matrix.target }}/release/ghostwriter
38+
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ remarkable="${1:-remarkable}"
66if [ " $1 " == " local" ]; then
77 cargo build --release
88else
9- # export PKG_CONFIG_SYSROOT_DIR="<toolchain_install_path>/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi"
10- # export PKG_CONFIG_PATH="<toolchain_install_path>/sysroots/cortexa7hf-neon-remarkable-linux-gnueabi/usr/lib/pkgconfig"
11- # export PKG_CONFIG_ALLOW_CROSS=1
12- cross build --release --target=armv7-unknown-linux-gnueabihf && scp target/armv7-unknown-linux-gnueabihf/release/ghostwriter root@$remarkable :
9+ cross build \
10+ --release \
11+ --target=armv7-unknown-linux-gnueabihf \
12+ && scp target/armv7-unknown-linux-gnueabihf/release/ghostwriter root@$remarkable :
1313fi
1414
You can’t perform that action at this time.
0 commit comments