| CI | |
|---|---|
| AppVeyor | o |
| Bitrise | o |
| Buddy | o |
| CircleCI | API |
| CirrusCI | x |
| Codefresh | o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef INCG_IRIS_IUTEST_HPP_ | |
| #define INCG_IRIS_IUTEST_HPP_ | |
| #define IUTEST_VER 0x1160700u | |
| #define IUTEST_MAJORVER 1u | |
| #define IUTEST_MINORVER 0x16u | |
| #define IUTEST_MICROVER 7u | |
| #define IUTEST_REVISION 0u | |
| #define IUTEST_BUILD IUTEST_MICROVER | |
| #if defined(__FreeBSD__) | |
| #define IUTEST_OS_FREEBSD 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| find . -type d -empty -maxdepth 1 -exec rmdir "{}" \; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| err=0 | |
| # untracked な .meta ファイルを列挙 | |
| for METAFILE in `git clean -n -e meta | cut -f 3 -d " " | grep -o ".*\.meta"`; do | |
| # .meta を含んだパスが METAFILE に入る | |
| FILE=${METAFILE%.meta} | |
| # .meta を除いたパスが FILE に入る | |
| # FILE が存在し、git 管理下の場合警告 | |
| if [ -f "$FILE" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # FROM の前に ARG が取れる | |
| ARG VERSION=latest | |
| # FROM の指定を引数可変にできる | |
| FROM srzzumix/googletest:${VERSION} | |
| # FROM 前の ARG を参照する場合はデフォルト値指定なしで再定義する | |
| ARG VERSION | |
| RUN echo ${VERSION} | tee image_version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # コンテナの指定はタスクごとに指定可能、グローバルデフォルトは以下のように書く | |
| #container: | |
| # 指定できる imgae はこちらを参照 (https://cirrus-ci.org/guide/supported-computing-services/#community-cluster) | |
| # k8s を覚えたら追記 | |
| # image: node:latest | |
| # cpu: 4 | |
| # memory: 12 | |
| # task(他の CI サービスでいうとジョブとか) | |
| # task の前に好きな名前をつけられる、コミットステータスに表示される名称がこれになる |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # codefresh.yml (Use YAML from URL) | |
| version: '1.0' | |
| steps: | |
| BuildingDockerImage: | |
| title: Building Docker Image | |
| type: build | |
| image_name: srzzumix/iutest | |
| dockerfile: tools/docker/codefresh/Dockerfile | |
| RunningUnitTests: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| inspecode: | |
| cppcheck: | |
| options: | |
| --enable: all | |
| -I: include | |
| -D: | |
| IUTEST_HAS_CLOCK=1 | |
| _WIN32=1 | |
| _MSC_VER=1700 | |
| -U: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker-machine stop default | |
| docker-machine rm -f default | |
| rem docker-machine create -d virtualbox --virtualbox-disk-size 40000 --virtualbox-memory 4096 default | |
| docker-machine create -d virtualbox --virtualbox-disk-size 40000 default |