Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Gadrat committed Sep 19, 2023
1 parent 7ce27c6 commit c3dd661
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
run: deps/build-deps.d/00-cc65.sh
- name: build-dep-huffmunch
run: deps/build-deps.d/00-huffmunch.sh
- name: build-dep-python
run: FORCE_INSTALLS=1 deps/build-deps.d/00-python.sh
- name: build-dep-xa65
run: deps/build-deps.d/00-xa65.sh
- name: build-dep-gcc
Expand Down
11 changes: 11 additions & 0 deletions deps/build-deps.d/00-python.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -x
set -e

out_dir=$(readlink -f "$(dirname "$0")/..")

if [ "$UID" -eq 0 -o ! -z "$FORCE_INSTALLS" ]; then
sudo apt install -y python pip
pip install --upgrade pillow
fi
2 changes: 1 addition & 1 deletion deps/build-deps.d/01-gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install_gcc_build_dependencies() {
if [ "$UID" -eq 0 ]; then
apt install -y $dependencies
else
if [ -z "FORCE_INSTALLS" ] ; then
if [ -z "$FORCE_INSTALLS" ] ; then
echo "Skipped GCC build dependency installation: no root privilege"
else
sudo apt install -y $dependencies
Expand Down

0 comments on commit c3dd661

Please sign in to comment.