Skip to content

Commit

Permalink
Tests debugging!
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Nov 16, 2023
1 parent 5675eb3 commit 5a5f511
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
matrix:
kind: [ "system", "user" ]
runs-on: ubuntu-latest
env:
LOG_LEVEL: DEBUG
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand All @@ -57,7 +59,7 @@ jobs:
if [ "${{ matrix.kind }}" = "user" ]; then
./install.sh -u
elif [ "${{ matrix.kind }}" = "system" ]; then
sudo ./install.sh -s
sudo -E ./install.sh -s
else
exit 1
fi
Expand Down
5 changes: 4 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ while getopts "dusah-" OPT; do
done
shift $((OPTIND-1))

make -C "$SCRIPT_DIR" clean build EXTRA_CFLAGS="-DXDG_APP='\"$APP\"'"
make -C "$SCRIPT_DIR" \
clean build \
EXTRA_CFLAGS="-DXDG_APP='\"$APP\"'" \
LOG_LEVEL=${LOG_LEVEL-INFO}

mkdir -pm 0700 "$DESTDIR/bin"
install -v "$SCRIPT_DIR/src/cli.exe" "$DESTDIR/bin/$APP"
Expand Down

0 comments on commit 5a5f511

Please sign in to comment.