build(Pre-commit-drone-file-cannot-be-checked): Removed check-yaml hook, updated drone config
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Anne de Jong 2023-07-24 18:11:45 +02:00
parent 8397779a2a
commit c9243b1143
2 changed files with 6 additions and 26 deletions

View File

@ -6,26 +6,14 @@ clone:
depth: 50
steps:
- name: archlinux_build
image: archlinux_build:latest
- name: archlinux_build_test
image: archlinux:latest
pull: if-not-exists
volumes:
- name: archlinux_ccache
path: /root/.ccache
commands:
# The following command is not required, we included this in the docker
# image of archlinux_build
# - pacman -S --noconfirm ccache openblas fftw pulseaudio pybind11
- git submodule update --init --recursive
- cmake .
# More than two makes ascee2 irresponsive for now
- make -j2
- name: archlinux_test
image: archlinux_build:latest
pull: if-not-exists
commands:
- scripts/test.sh
- scripts/build_archlinux.sh
volumes:
- name: archlinux_ccache
@ -45,22 +33,15 @@ volumes:
path: /root/.ccache
steps:
- name: ubuntu_build
image: ubuntu_build:latest
- name: ubuntu_build_test
image: ubuntu:latest
pull: if-not-exists
volumes:
- name: ubuntu_ccache
path: /root/.ccache
environment:
commands:
# The following commands are not required, we included this in the docker
# image of ubuntu_builud
- scripts/build_ubuntu.sh
- name: ubuntu_test
image: ubuntu_build:latest
pull: if-not-exists
commands:
- scripts/test.sh
volumes:
- name: ubuntu_ccache
@ -77,7 +58,7 @@ clone:
steps:
- name: build_docker_master
- name: build_documentation_master
image: plugins/docker
settings:
repo: ascee/lasp_ascee_nl

View File

@ -10,7 +10,6 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black