mzm/.cirrus.yml
2022-07-02 19:03:59 +02:00

21 lines
583 B
YAML

task:
container:
dockerfile: .ci/Dockerfile
matrix:
- name: Check
only_if: ${GITHUB_USER} != "" && ${GITHUB_PAT} != "" && ${BASEROM_REPO} != ""
get_baseroms_script:
- git clone https://${GITHUB_USER}:${GITHUB_PAT}@github.com/${BASEROM_REPO}.git /tmp/baseroms
- cp /tmp/baseroms/* .
build_script:
- make extract
- make CPP=cpp -j
test_script:
- make check
- name: Format
test_script:
- find src -type f -name '*.[ch]' -print | xargs -d '\n' clang-format -i
- git diff --exit-code