diff options
| author | Ha Thach <[email protected]> | 2023-05-10 16:06:04 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-10 16:06:04 +0700 |
| commit | aaff27d220dd95cc018bf01f54df5dae706a52ae (patch) | |
| tree | e99c7914abba762a6152967725b2448eac523089 /.github | |
| parent | 5e023fa2ca4c20f06b6e0dc12f6f044a7d4e14bd (diff) | |
| parent | eaa159c0a6a0a56a56507e44e83fe1883b3995c2 (diff) | |
Merge pull request #2058 from hathach/cmake-imxrt
Add Cmake for imxrt and Fix EHCI PortSC issue
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build_arm.yml | 1 | ||||
| -rw-r--r-- | .github/workflows/cmake_arm.yml | 57 |
2 files changed, 57 insertions, 1 deletions
diff --git a/.github/workflows/build_arm.yml b/.github/workflows/build_arm.yml index b60d12a98..f0b01b43d 100644 --- a/.github/workflows/build_arm.yml +++ b/.github/workflows/build_arm.yml @@ -33,7 +33,6 @@ jobs: family: # Alphabetical order - 'broadcom_32bit' - - 'imxrt' - 'kinetis_k32 kinetis_kl' - 'lpc11 lpc13 lpc15 lpc17 lpc18' - 'lpc51 lpc54 lpc55' diff --git a/.github/workflows/cmake_arm.yml b/.github/workflows/cmake_arm.yml new file mode 100644 index 000000000..844a03443 --- /dev/null +++ b/.github/workflows/cmake_arm.yml @@ -0,0 +1,57 @@ +name: CMake ARM + +on: + push: + paths: + - 'src/**' + - 'examples/**' + - 'lib/**' + - 'hw/**' + - '.github/workflows/cmake_arm.yml' + pull_request: + branches: [ master ] + paths: + - 'src/**' + - 'examples/**' + - 'lib/**' + - 'hw/**' + - '.github/workflows/cmake_arm.yml' + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + # --------------------------------------- + # Build ARM family + # --------------------------------------- + build-arm: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + family: + # Alphabetical order + - 'imxrt' + steps: + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.x' + + - name: Install ARM GCC + uses: carlosperate/arm-none-eabi-gcc-action@v1 + with: + release: '11.2-2022.02' + + - name: Install Ninja + run: sudo apt install -y ninja-build + + - name: Checkout TinyUSB + uses: actions/checkout@v3 + + - name: Get Dependencies + run: python3 tools/get_family_deps.py ${{ matrix.family }} + + - name: Build + run: python tools/build_cmake.py ${{ matrix.family }} |
