kopia lustrzana https://github.com/pimoroni/pimoroni-pico
				
				
				
			Merge pull request #147 from pimoroni/patch/ci-break-invalid-path
Ensure MicroPython CI breaks with invalid pathspull/148/head
						commit
						f0a5b9b76e
					
				| 
						 | 
				
			
			@ -39,7 +39,7 @@ jobs:
 | 
			
		|||
    - uses: actions/checkout@v2
 | 
			
		||||
      with:
 | 
			
		||||
        submodules: true
 | 
			
		||||
        path: pimoroni-pico
 | 
			
		||||
        path: pimoroni-pico-${{ github.sha }}
 | 
			
		||||
 | 
			
		||||
    # Linux deps
 | 
			
		||||
    - name: Install deps
 | 
			
		||||
| 
						 | 
				
			
			@ -65,7 +65,7 @@ jobs:
 | 
			
		|||
    - name: Build MicroPython
 | 
			
		||||
      shell: bash
 | 
			
		||||
      working-directory: micropython/ports/rp2
 | 
			
		||||
      run: make USER_C_MODULES=../../../pimoroni-pico/micropython/modules/micropython.cmake -j2
 | 
			
		||||
      run: make USER_C_MODULES=../../../pimoroni-pico-${GITHUB_SHA}/micropython/modules/micropython.cmake -j2
 | 
			
		||||
 | 
			
		||||
    - name: Upload .uf2
 | 
			
		||||
      if: github.event_name == 'release'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
#include "../../../pimoroni-pico/libraries/breakout_colourlcd160x80/breakout_colourlcd160x80.hpp"
 | 
			
		||||
#include "../../../libraries/breakout_colourlcd160x80/breakout_colourlcd160x80.hpp"
 | 
			
		||||
 | 
			
		||||
#define MP_OBJ_TO_PTR2(o, t) ((t *)(uintptr_t)(o))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
#include "../../../pimoroni-pico/libraries/breakout_colourlcd240x240/breakout_colourlcd240x240.hpp"
 | 
			
		||||
#include "../../../libraries/breakout_colourlcd240x240/breakout_colourlcd240x240.hpp"
 | 
			
		||||
 | 
			
		||||
#define MP_OBJ_TO_PTR2(o, t) ((t *)(uintptr_t)(o))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
#include "../../../pimoroni-pico/libraries/breakout_trackball/breakout_trackball.hpp"
 | 
			
		||||
#include "../../../libraries/breakout_trackball/breakout_trackball.hpp"
 | 
			
		||||
 | 
			
		||||
#define MP_OBJ_TO_PTR2(o, t) ((t *)(uintptr_t)(o))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue