diff options
| author | Ha Thach <[email protected]> | 2020-04-18 21:45:39 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-18 21:45:39 +0700 |
| commit | 72ed11d1e5b8d55720e97b2b9edb2c30edd3cc40 (patch) | |
| tree | a68f14c7383a229065fe0291be7bf105672f8c13 | |
| parent | 3ed9515e70b0c6bc375cd058dcc6b8b78b00899a (diff) | |
| parent | 66bd68f1e9d9607e8af3392f9f2a199eaad08895 (diff) | |
Merge pull request #356 from hathach/use-docker-esp32s2-ci
Use docker for esp32s2 ci
| -rw-r--r-- | .github/workflows/build.yml | 13 | ||||
| -rw-r--r-- | .gitignore | 2 |
2 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0174b9cb7..9eebfaaf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,7 +5,7 @@ on: [pull_request, push, repository_dispatch] jobs: # Unit testing with Ceedling unit-test: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - name: Setup Ruby uses: actions/setup-ruby@v1 @@ -83,11 +83,8 @@ jobs: - name: Setup Python uses: actions/setup-python@v1 - - name: Install Toolchains - run: | - git clone --depth 1 https://github.com/espressif/esp-idf.git $HOME/esp-idf - cd $HOME/esp-idf - ./install.sh + - name: Pull ESP-IDF docker + run: docker pull espressif/idf:latest - name: Checkout TinyUSB uses: actions/checkout@v2 @@ -95,6 +92,4 @@ jobs: submodules: 'false' - name: Build - run: | - . $HOME/esp-idf/export.sh - python3 tools/build_esp32s.py + run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32s.py diff --git a/.gitignore b/.gitignore index ea08146b4..cc700948b 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ latex *.elf *.ind .env +.settings/ +.idea/ /examples/*/*/build* test_old/ tests_obsolete/ |
