Update for Mbed CE. Switch to including image to install directly in… #1
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Example GitHub Actions workflow which provides a CI build for your Mbed CE project. | |
| name: Test that this Mbed project compiles | |
| on: push | |
| jobs: | |
| compile: | |
| runs-on: ubuntu-latest | |
| container: ghcr.io/armmbed/mbed-os-env:master-latest | |
| strategy: | |
| matrix: | |
| mbed_target: | |
| # Change the below to match the target(s) you want to compile the project for. | |
| - K64F | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install python3-venv | |
| run: | | |
| apt-get update | |
| apt-get install -y python3-venv | |
| - name: Build project for ${{ matrix.mbed_target }} | |
| run: | | |
| mkdir build && cd build | |
| cmake .. -GNinja -DMBED_TARGET=${{ matrix.mbed_target }} | |
| ninja |