Skip to content

Commit

Permalink
Fix CI, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Dec 11, 2024
1 parent 23627c3 commit dd0dcaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,11 @@ jobs:

#- uses: Swatinem/rust-cache@v1

- name: Regenerate and check
run: ./regenerate_fonts_file.sh --check --hide-progress
- name: Regenerate fonts
run: ./regenerate_fonts_file.sh --hide-progress

- name: Check for diffs
- run: test -z "$(git status --porcelain)"

msrv:
name: Minimum Supported Rust Version
Expand Down
2 changes: 1 addition & 1 deletion regenerate_fonts_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set -eu
SCRIPTPATH=$( cd "$(dirname "$(readlink -f "$0")")" || exit 1 ; pwd -P )
cd "$SCRIPTPATH/tools/generate_fonts_file"

cargo run --release -- "$@" "$SCRIPTPATH/u8g2/csrc/u8g2_fonts.c" "$SCRIPTPATH/src/fonts.rs"
cargo run --release -- "$@" "$SCRIPTPATH/u8g2/csrc/u8g2_fonts.c" "$SCRIPTPATH/src/fonts"

0 comments on commit dd0dcaf

Please sign in to comment.