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

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 depth: 50
steps: steps:
- name: archlinux_build - name: archlinux_build_test
image: archlinux_build:latest image: archlinux:latest
pull: if-not-exists pull: if-not-exists
volumes: volumes:
- name: archlinux_ccache - name: archlinux_ccache
path: /root/.ccache path: /root/.ccache
commands: commands:
# The following command is not required, we included this in the docker - scripts/build_archlinux.sh
# 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
volumes: volumes:
- name: archlinux_ccache - name: archlinux_ccache
@ -45,22 +33,15 @@ volumes:
path: /root/.ccache path: /root/.ccache
steps: steps:
- name: ubuntu_build - name: ubuntu_build_test
image: ubuntu_build:latest image: ubuntu:latest
pull: if-not-exists pull: if-not-exists
volumes: volumes:
- name: ubuntu_ccache - name: ubuntu_ccache
path: /root/.ccache path: /root/.ccache
environment: environment:
commands: commands:
# The following commands are not required, we included this in the docker
# image of ubuntu_builud
- scripts/build_ubuntu.sh - scripts/build_ubuntu.sh
- name: ubuntu_test
image: ubuntu_build:latest
pull: if-not-exists
commands:
- scripts/test.sh
volumes: volumes:
- name: ubuntu_ccache - name: ubuntu_ccache
@ -77,7 +58,7 @@ clone:
steps: steps:
- name: build_docker_master - name: build_documentation_master
image: plugins/docker image: plugins/docker
settings: settings:
repo: ascee/lasp_ascee_nl repo: ascee/lasp_ascee_nl

View File

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