Skip to content

Commit

Permalink
Enable timeout and traces
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Feb 7, 2025
1 parent a165238 commit 380db10
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ jobs:
ARCH: archlinux
UNPRIVILEGED: arch
TEST_OUTPUT_DIR: /tmp/tests
TRACE: true
TIMEOUT: 10
steps:
- name: Install minimal dependencies
run: pacman -Suy --noconfirm base-devel wget git
run: pacman -Suy --noconfirm base-devel wget git strace

# workaround for upstream nodejs package does not include libnode.so
# https://gitlab.archlinux.org/archlinux/packaging/packages/nodejs/-/issues/1
Expand All @@ -99,7 +101,7 @@ jobs:
tee -a /etc/sudoers.d/$UNPRIVILEGED <<< "$UNPRIVILEGED ALL = NOPASSWD: $(which pacman)"
- name: Create PKGBUILD
run: sudo -u $UNPRIVILEGED build/archlinux/mk
run: sudo -u $UNPRIVILEGED --preserve-env=TEST_OUTPUT_DIR,TIMEOUT,TRACE build/archlinux/mk

- name: Archive PKGBUILD
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 380db10

Please sign in to comment.