mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
@@ -140,14 +140,14 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deps
|
- name: deps
|
||||||
run: apk add --no-cache python3 py3-pip make git
|
run: apk add --no-cache python3 py3-pip make git black
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: install black
|
- name: install black
|
||||||
run: python3 -m pip install bdflib black flake8
|
run: python3 -m pip install bdflib flake8
|
||||||
|
|
||||||
- name: Check formatting with clang-format
|
- name: Check formatting with clang-format
|
||||||
run: cd source && make clean && make check-style
|
run: cd source && make clean && make check-style
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ WORKDIR /build
|
|||||||
# musl-dev is required for the multi lang firmwares
|
# musl-dev is required for the multi lang firmwares
|
||||||
# clang is required for clang-format (for dev)
|
# clang is required for clang-format (for dev)
|
||||||
|
|
||||||
RUN apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip make git musl-dev clang bash clang-extra-tools
|
RUN apk add --no-cache gcc-riscv-none-elf gcc-arm-none-eabi newlib-riscv-none-elf newlib-arm-none-eabi findutils python3 py3-pip black make git musl-dev clang bash clang-extra-tools
|
||||||
|
|
||||||
# Install Python3 packages
|
# Install Python3 packages
|
||||||
|
|
||||||
RUN python3 -m pip install bdflib black
|
RUN python3 -m pip install bdflib
|
||||||
# Git trust
|
# Git trust
|
||||||
RUN git config --global --add safe.directory /build/source
|
RUN git config --global --add safe.directory /build/source
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user