Skip to content

Commit

Permalink
workflows: Remove packages from npm command
Browse files Browse the repository at this point in the history
  • Loading branch information
FintasticMan committed Jun 22, 2023
1 parent 2bbc777 commit 774aa88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ jobs:
run: |
sudo apt-get -y install ninja-build
- name: Install lv_font_conv
run:
npm i -g [email protected]

- name: Checkout source files
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install npm packages
run:
npm i

- name: Get InfiniSim repo
run: |
git clone https://github.com/InfiniTimeOrg/InfiniSim.git --depth 1 --branch main
Expand Down
6 changes: 4 additions & 2 deletions src/resources/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

find_program(LV_FONT_CONV "lv_font_conv" NO_CACHE REQUIRED
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin")
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin"
HINTS "${InfiniTime_DIR}/node_modules/.bin")
message(STATUS "Using ${LV_FONT_CONV} to generate font files")

find_program(LV_IMG_CONV "lv_img_conv" NO_CACHE REQUIRED
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin")
HINTS "${CMAKE_SOURCE_DIR}/node_modules/.bin"
HINTS "${InfiniTime_DIR}/node_modules/.bin")
message(STATUS "Using ${LV_IMG_CONV} to generate font files")

if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
Expand Down

0 comments on commit 774aa88

Please sign in to comment.