Skip to content

Commit 9ffc90a

Browse files
committed
debug: add debug ci job
1 parent 0e482f9 commit 9ffc90a

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/build_binaries.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,26 @@ jobs:
1111
runs-on: ubuntu-latest
1212
container: ghcr.io/qmk/qmk_cli
1313
steps:
14-
- uses: actions/checkout@v4
15-
- name: Install QMK deps
16-
run: qmk setup
14+
- name: Disable git safe directory checks
15+
run: git config --global --add safe.directory '*'
16+
- name: Checkout userspace
17+
uses: actions/checkout@v4
18+
- name: Checkout QMK firmware
19+
uses: actions/checkout@v4
20+
with:
21+
repository: JeffDess/qmk_firmware
22+
ref: master
23+
path: qmk_firmware
24+
submodules: recursive
25+
- name: Setup userspace link
26+
run: qmk config user.overlay_dir="$(realpath .)"
1727
- name: Verbose userspace compile
1828
run: |
19-
set -o pipefail qmk userspace-compile -e DUMP_CI_METADATA=yes -v 2>&1 | tee qmk-build.log
20-
- uses: actions/upload-artifact@v4
29+
set -o pipefail
30+
qmk userspace-compile -e DUMP_CI_METADATA=yes -v 2>&1 | tee qmk-build.log || touch .failed
31+
- name: Upload build log
32+
if: always()
33+
uses: actions/upload-artifact@v4
2134
with:
2235
name: qmk-build-log
2336
path: qmk-build.log

0 commit comments

Comments
 (0)