diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000000..5ac68236923 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,23 @@ +version: 2 + +jobs: + + test: + working_directory: ~/tgst + docker: + - image: tomaka/cargo-apk + steps: + - checkout + - restore_cache: + key: test-cache-{{ checksum "Cargo.toml" }} + - run: cargo apk build --example window + - save_cache: + key: test-cache-{{ checksum "Cargo.toml" }} + paths: + - target + +workflows: + version: 2 + build-test-and-deploy: + jobs: + - test