mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-12-16 03:08:52 +08:00
ci: fix config file of circleci
This commit is contained in:
@@ -6,17 +6,19 @@ jobs:
|
|||||||
- image: circleci/buildpack-deps:bionic
|
- image: circleci/buildpack-deps:bionic
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: g++ --version
|
- run:
|
||||||
- run: cd tests/
|
command: |
|
||||||
- run: ls
|
g++ --version
|
||||||
- run: g++ -std=c++11 -O2 -Wall -Wextra -Werror check.cpp -o check
|
cd tests/
|
||||||
- run: git clone https://github.com/BurntSushi/toml-test.git
|
ls
|
||||||
- run: cp check toml-test/tests/invalid
|
g++ -std=c++11 -O2 -Wall -Wextra -Werror check.cpp -o check
|
||||||
- run: cp check toml-test/tests/valid
|
git clone https://github.com/BurntSushi/toml-test.git
|
||||||
- run: cd toml-test/tests/invalid
|
cp check toml-test/tests/invalid
|
||||||
- run: for f in $(ls ./*.toml); do echo "==> ${f}"; cat ${f}; ./check ${f} invalid; done
|
cp check toml-test/tests/valid
|
||||||
- run: cd ../valid
|
cd toml-test/tests/invalid
|
||||||
- run: for f in $(ls ./*.toml); do echo "==> ${f}"; cat ${f}; ./check ${f} valid; done
|
for f in $(ls ./*.toml); do echo "==> ${f}"; cat ${f}; ./check ${f} invalid; done
|
||||||
|
cd ../valid
|
||||||
|
for f in $(ls ./*.toml); do echo "==> ${f}"; cat ${f}; ./check ${f} valid; done
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|||||||
Reference in New Issue
Block a user