Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

- uses: cachix/install-nix-action@v14.1
with:
nix_path: nixpkgs=channel:nixos-unstable

- run: nix-shell
- run: cargo build
- run: |
docker run -v $GITHUB_WORKSPACE:/mnt -w /mnt ghcr.io/toltec-dev/rust:latest bash -c '
source /opt/x-tools/switch-arm.sh
cargo build --release --target=armv7-unknown-linux-gnueabihf
'
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@ There are three ways of building the required restream binary for streaming the
You can use the [toltec toolchain docker images](https://github.com/toltec-dev/toolchain) to build a restream binary compatible with the reMarkable.

```
docker run --rm -v $(pwd):/project -v /project/.cargo -w "/project" ghcr.io/toltec-dev/rust:latest cargo build --release --target=armv7-unknown-linux-gnueabihf
docker run --rm -v "$(pwd)":/project -v /project/.cargo -w /project \
ghcr.io/toltec-dev/rust:latest bash -c '
source /opt/x-tools/switch-arm.sh
cargo build --release --target=armv7-unknown-linux-gnueabihf
'
```

- **Using the reMarkable toolchain:**
Expand Down