summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci_build_major_branch.yml8
-rw-r--r--.github/workflows/ci_build_major_branch_keymap.yml16
-rw-r--r--.github/workflows/cli.yml1
-rw-r--r--.github/workflows/docs.yml5
-rw-r--r--.github/workflows/regen.yml3
-rw-r--r--.github/workflows/regen_push.yml3
-rw-r--r--.github/workflows/unit_test.yml2
7 files changed, 21 insertions, 17 deletions
diff --git a/.github/workflows/ci_build_major_branch.yml b/.github/workflows/ci_build_major_branch.yml
index 2ea8310cb4..e857f5f6c4 100644
--- a/.github/workflows/ci_build_major_branch.yml
+++ b/.github/workflows/ci_build_major_branch.yml
@@ -35,11 +35,6 @@ jobs:
35 slice_length: ${{ steps.generate_slice_length.outputs.slice_length }} 35 slice_length: ${{ steps.generate_slice_length.outputs.slice_length }}
36 36
37 steps: 37 steps:
38 - name: Install prerequisites
39 run: |
40 apt-get update
41 apt-get install -y jq
42
43 - name: Disable safe.directory check 38 - name: Disable safe.directory check
44 run: | 39 run: |
45 git config --global --add safe.directory '*' 40 git config --global --add safe.directory '*'
@@ -47,6 +42,9 @@ jobs:
47 - name: Checkout QMK Firmware 42 - name: Checkout QMK Firmware
48 uses: actions/checkout@v6 43 uses: actions/checkout@v6
49 44
45 - name: Install dependencies
46 run: pip3 install -r requirements-dev.txt
47
50 - name: Determine concurrency 48 - name: Determine concurrency
51 id: generate_slice_length 49 id: generate_slice_length
52 run: | 50 run: |
diff --git a/.github/workflows/ci_build_major_branch_keymap.yml b/.github/workflows/ci_build_major_branch_keymap.yml
index 10709172df..3b2db843a9 100644
--- a/.github/workflows/ci_build_major_branch_keymap.yml
+++ b/.github/workflows/ci_build_major_branch_keymap.yml
@@ -27,11 +27,6 @@ jobs:
27 targets: ${{ steps.generate_targets.outputs.targets }} 27 targets: ${{ steps.generate_targets.outputs.targets }}
28 28
29 steps: 29 steps:
30 - name: Install prerequisites
31 run: |
32 apt-get update
33 apt-get install -y jq
34
35 - name: Disable safe.directory check 30 - name: Disable safe.directory check
36 run: | 31 run: |
37 git config --global --add safe.directory '*' 32 git config --global --add safe.directory '*'
@@ -39,6 +34,9 @@ jobs:
39 - name: Checkout QMK Firmware 34 - name: Checkout QMK Firmware
40 uses: actions/checkout@v6 35 uses: actions/checkout@v6
41 36
37 - name: Install dependencies
38 run: pip3 install -r requirements-dev.txt
39
42 - name: Generate build targets 40 - name: Generate build targets
43 id: generate_targets 41 id: generate_targets
44 run: | 42 run: |
@@ -79,11 +77,6 @@ jobs:
79 target: ${{ fromJson(needs.generate_targets.outputs.targets) }} 77 target: ${{ fromJson(needs.generate_targets.outputs.targets) }}
80 78
81 steps: 79 steps:
82 - name: Install prerequisites
83 run: |
84 apt-get update
85 apt-get install -y jq
86
87 - name: Disable safe.directory check 80 - name: Disable safe.directory check
88 run: | 81 run: |
89 git config --global --add safe.directory '*' 82 git config --global --add safe.directory '*'
@@ -91,6 +84,9 @@ jobs:
91 - name: Checkout QMK Firmware 84 - name: Checkout QMK Firmware
92 uses: actions/checkout@v6 85 uses: actions/checkout@v6
93 86
87 - name: Install dependencies
88 run: pip3 install -r requirements-dev.txt
89
94 - name: Get target definitions 90 - name: Get target definitions
95 uses: actions/download-artifact@v7 91 uses: actions/download-artifact@v7
96 with: 92 with:
diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml
index ca794decf5..3d23a4fbdf 100644
--- a/.github/workflows/cli.yml
+++ b/.github/workflows/cli.yml
@@ -30,5 +30,6 @@ jobs:
30 30
31 - name: Install dependencies 31 - name: Install dependencies
32 run: pip3 install -r requirements-dev.txt 32 run: pip3 install -r requirements-dev.txt
33
33 - name: Run tests 34 - name: Run tests
34 run: qmk pytest 35 run: qmk pytest
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 5e5669ee78..8a0229f873 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -35,9 +35,10 @@ jobs:
35 fetch-depth: 1 35 fetch-depth: 1
36 36
37 - name: Install dependencies 37 - name: Install dependencies
38 run: pip3 install -r requirements-dev.txt
39
40 - name: Install nvm
38 run: | 41 run: |
39 apt-get update && apt-get install -y rsync doxygen
40 # install nvm
41 touch $HOME/.bashrc 42 touch $HOME/.bashrc
42 wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash 43 wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
43 44
diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml
index 6eb94c8aaa..54daadfa29 100644
--- a/.github/workflows/regen.yml
+++ b/.github/workflows/regen.yml
@@ -21,6 +21,9 @@ jobs:
21 21
22 - uses: actions/checkout@v6 22 - uses: actions/checkout@v6
23 23
24 - name: Install dependencies
25 run: pip3 install -r requirements-dev.txt
26
24 - name: Run qmk generators 27 - name: Run qmk generators
25 run: | 28 run: |
26 util/regen.sh 29 util/regen.sh
diff --git a/.github/workflows/regen_push.yml b/.github/workflows/regen_push.yml
index 98d6629bc3..5d8a84b933 100644
--- a/.github/workflows/regen_push.yml
+++ b/.github/workflows/regen_push.yml
@@ -21,6 +21,9 @@ jobs:
21 21
22 - uses: actions/checkout@v6 22 - uses: actions/checkout@v6
23 23
24 - name: Install dependencies
25 run: pip3 install -r requirements-dev.txt
26
24 - name: Run qmk generators 27 - name: Run qmk generators
25 run: | 28 run: |
26 util/regen.sh 29 util/regen.sh
diff --git a/.github/workflows/unit_test.yml b/.github/workflows/unit_test.yml
index 2384cfb039..7edc240355 100644
--- a/.github/workflows/unit_test.yml
+++ b/.github/workflows/unit_test.yml
@@ -29,7 +29,9 @@ jobs:
29 - uses: actions/checkout@v6 29 - uses: actions/checkout@v6
30 with: 30 with:
31 submodules: recursive 31 submodules: recursive
32
32 - name: Install dependencies 33 - name: Install dependencies
33 run: pip3 install -r requirements-dev.txt 34 run: pip3 install -r requirements-dev.txt
35
34 - name: Run tests 36 - name: Run tests
35 run: qmk test-c 37 run: qmk test-c