summaryrefslogtreecommitdiffstats
path: root/.ci/templates/format-check.yml
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-07-14 03:34:40 +0200
committerZach Hilman <zachhilman@gmail.com>2019-07-14 03:34:40 +0200
commitbbc5b5d62dfd66e623494bfc67fc469eae6551c6 (patch)
treec0d52e7abea8f65b33e1016a31495205eb8b8c1c /.ci/templates/format-check.yml
parentMerge pull request #2609 from FernandoS27/new-scan (diff)
downloadyuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.tar
yuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.tar.gz
yuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.tar.bz2
yuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.tar.lz
yuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.tar.xz
yuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.tar.zst
yuzu-bbc5b5d62dfd66e623494bfc67fc469eae6551c6.zip
Diffstat (limited to '.ci/templates/format-check.yml')
-rw-r--r--.ci/templates/format-check.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.ci/templates/format-check.yml b/.ci/templates/format-check.yml
new file mode 100644
index 000000000..5061f1cb8
--- /dev/null
+++ b/.ci/templates/format-check.yml
@@ -0,0 +1,14 @@
+parameters:
+ artifactSource: 'true'
+
+steps:
+- template: ./sync-source.yml
+ parameters:
+ artifactSource: $(parameters.artifactSource)
+ needSubmodules: 'false'
+- task: DockerInstaller@0
+ displayName: 'Prepare Environment'
+ inputs:
+ dockerVersion: '17.09.0-ce'
+- script: chmod a+x ./.ci/scripts/format/exec.sh && ./.ci/scripts/format/exec.sh
+ displayName: 'Verify Formatting'