Skip to content

Commit

Permalink
trying to add python dependencies for github actions build test
Browse files Browse the repository at this point in the history
  • Loading branch information
sadekbaroudi committed Nov 30, 2024
1 parent ae92e6b commit 3aeec25
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/firmware_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,28 @@ jobs:
ref: ${{ github.ref }}
submodules: recursive

- name: Build firmware
shell: bash
run: |
wget -q https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 -O jq
chmod +x jq
mv jq /usr/local/sbin/
/usr/bin/python3 -m pip install -r /__w/qmk_firmware/qmk_firmware/requirements.txt
keyboards=$(bash bin/fp_build.sh -l| sed s~keyboards/fingerpunch/~~)
echo "${keyboards}" | while IFS= read -r line ; do
case "$line" in
*${{ matrix.keyboard }}*)
echo "Building for ${line}"
make_command="bin/fp_build.sh -k ${line} -r"
echo "${make_command}"
$make_command
;;
esac
done
- name: Build firmware
shell: bash
run: |
Expand Down

0 comments on commit 3aeec25

Please sign in to comment.