mirror of
https://github.com/YohannDR/mzm.git
synced 2024-12-04 03:02:28 +00:00
21 lines
583 B
YAML
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
|