emosenkis / esp-rs

Script for installing/running toolchain for building ESP8266 firmware in Rust
MIT License
329 stars 19 forks source link

Add automatic testing #13

Closed emosenkis closed 5 years ago

emosenkis commented 6 years ago

There are some services, like travis-ci.org, that provide free CI services for open source projects. It would be extremely helpful to automatically test the install and build steps for pull requests and new commits. If anyone is familiar with one of those, setting up this integration would be a great way to contribute!

jcard0na commented 5 years ago

I have configured circle-ci to test the build process. You can see it here: https://github.com/jcard0na/esp-rs/branches

If you want to do the same for your repo, this is the .yaml file I used:

version: 2
jobs:
  build:
    working_directory: /esp-rs
    docker:
      - image: docker:17.05.0-ce-git
    steps:
      - checkout
      - setup_remote_docker
      - run:
          name: Build image
          command: |
            docker build -t esp-rust .
emosenkis commented 5 years ago

Thanks!

jcard0na commented 5 years ago

I've updated PR #27 to include all my changes and better testing.

jcard0na commented 5 years ago

Oh, but I see that it was already merged. Let me know if you can still apply the updates from PR #27 or if you want me to create a new PR.

emosenkis commented 5 years ago

Merged. Thanks again!