forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into dlip
* upstream/master: (1711 commits) nullbitsco/snap: fix broken keymaps (qmk#21877) AH Haven65 Community Layout support (qmk#21880) Abko AK84BT Layout Touch-Up (qmk#21876) Update macOS install script (qmk#21854) [keyboard] add sweeq, a ferris/sweep variant with diodes (qmk#21597) CannonKeys Meetup Pad 2023 (qmk#21806) Revert "fix 60_hhkb ASCII diagram (qmk#21813)" (qmk#21869) doio/kb16: Added timeout option for OLED boot logo. (qmk#21823) Update keymap.c to add encoder (qmk#21469) Fix invalid encoder_map declaration (qmk#21868) fix 60_jis keymap.c (qmk#21820) chore(ferris/test): visually format keymap (qmk#21851) fix 60_hhkb ASCII diagram (qmk#21813) Fix compilation of dynamic_keymap.c without VIA (qmk#21858) Remove develop notice. Breaking changes changelog, 2023q3 version (qmk#21848) Clean up Unicode API usage in user keymaps (qmk#21849) Unicode, Unicodemap and UCIS refactor (qmk#21659) Add *_MATRIX_LED_COUNT generation (qmk#21110) Revert changes to ChibiOS Suspend Code (qmk#21830) ...
- Loading branch information
Showing
22,873 changed files
with
805,684 additions
and
609,953 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CompileFlags: | ||
Add: [-Wno-unknown-attributes, -Wno-maybe-uninitialized, -Wno-unknown-warning-option] | ||
Remove: [-W*, -mcall-prologues] | ||
Compiler: clang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ core: | |
- tests/**/* | ||
- util/**/* | ||
- platforms/**/* | ||
- builddefs/**/* | ||
- Makefile | ||
- '*.mk' | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
name: Automatic Approve | ||
|
||
permissions: {} | ||
|
||
on: | ||
schedule: | ||
- cron: "*/5 * * * *" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: CI Builds | ||
|
||
permissions: | ||
contents: read | ||
|
||
on: | ||
push: | ||
branches: [master, develop] | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
type: choice | ||
description: 'Branch to build' | ||
options: [master, develop] | ||
|
||
concurrency: ci_build-${{ github.event.inputs.branch || github.ref_name }} | ||
|
||
jobs: | ||
ci_builds: | ||
if: github.repository == 'qmk/qmk_firmware' | ||
name: "CI Build" | ||
runs-on: self-hosted | ||
timeout-minutes: 1380 | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
keymap: [default, via] | ||
|
||
container: ghcr.io/qmk/qmk_cli | ||
|
||
steps: | ||
- name: Disable safe.directory check | ||
run : git config --global --add safe.directory '*' | ||
|
||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
ref: ${{ github.event.inputs.branch || github.ref }} | ||
|
||
- name: Install dependencies | ||
run: pip3 install -r requirements.txt | ||
|
||
- name: Run `qmk mass-compile` (keymap ${{ matrix.keymap }}) | ||
run: | | ||
export NCPUS=$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null) | ||
qmk mass-compile -t -j $NCPUS -km ${{ matrix.keymap }} -e DUMP_CI_METADATA=yes || touch .failed | ||
# Generate the step summary markdown | ||
./util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY || true | ||
# Truncate to a maximum of 1MB to deal with GitHub workflow limit | ||
truncate --size='<960K' $GITHUB_STEP_SUMMARY || true | ||
# Exit with failure if the compilation stage failed | ||
[ ! -f .failed ] || exit 1 | ||
- name: 'Upload artifacts' | ||
uses: actions/upload-artifact@v3 | ||
if: always() | ||
with: | ||
name: artifacts-${{ github.event.inputs.branch || github.ref_name }}-${{ matrix.keymap }} | ||
if-no-files-found: ignore | ||
path: | | ||
*.bin | ||
*.hex | ||
*.uf2 | ||
.build/failed.* | ||
- name: 'CI Discord Notification' | ||
if: always() | ||
working-directory: util/ci/ | ||
env: | ||
DISCORD_WEBHOOK: ${{ secrets.CI_DISCORD_WEBHOOK }} | ||
run: | | ||
python3 -m pip install -r requirements.txt | ||
python3 ./discord-results.py --branch ${{ github.event.inputs.branch || github.ref_name }} --keymap ${{ matrix.keymap }} --url ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: Update develop after master merge | ||
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
branches: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.