فهرست منبع

test building esp32s2 with docker

hathach 5 سال پیش
والد
کامیت
544f878033
1فایلهای تغییر یافته به همراه15 افزوده شده و 1 حذف شده
  1. 15 1
      .github/workflows/build.yml

+ 15 - 1
.github/workflows/build.yml

@@ -3,9 +3,21 @@ name: Build
 on: [pull_request, push, repository_dispatch]
 on: [pull_request, push, repository_dispatch]
 
 
 jobs:
 jobs:
+  # Build ESP32S
+  build-esp32s-docker:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Setup Python
+      uses: actions/setup-python@v1
+
+    - name: failed
+      run: |
+        exit 1
+
   # Unit testing with Ceedling
   # Unit testing with Ceedling
   unit-test:
   unit-test:
-    runs-on: ubuntu-latest    
+    runs-on: ubuntu-latest
+    needs: build-esp32s-docker
     steps:
     steps:
     - name: Setup Ruby
     - name: Setup Ruby
       uses: actions/setup-ruby@v1
       uses: actions/setup-ruby@v1
@@ -23,6 +35,7 @@ jobs:
   # Build most of the ports
   # Build most of the ports
   build:
   build:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    needs: build-esp32s-docker
     strategy:
     strategy:
       fail-fast: false
       fail-fast: false
       matrix:
       matrix:
@@ -79,6 +92,7 @@ jobs:
   # Build ESP32S
   # Build ESP32S
   build-esp32s:
   build-esp32s:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    needs: build-esp32s-docker
     steps:
     steps:
     - name: Setup Python
     - name: Setup Python
       uses: actions/setup-python@v1
       uses: actions/setup-python@v1