From 0f272979505296af28f798b6572c81eb46d7fbd8 Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Tue, 26 Mar 2024 09:42:01 -0400 Subject: [PATCH] more CI --- .github/workflows/cw308t-stm32f3.yml | 21 +++++++++++++++++++ .github/workflows/cw308t-stm32f415.yml | 21 +++++++++++++++++++ .github/workflows/mps2-an386.yml | 21 +++++++++++++++++++ .github/workflows/nucleo-l476rg.yml | 21 +++++++++++++++++++ .github/workflows/nucleo-l4r5zi.yml | 21 +++++++++++++++++++ .../{main.yml => stm32f4discovery.yml} | 13 ++---------- 6 files changed, 107 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/cw308t-stm32f3.yml create mode 100644 .github/workflows/cw308t-stm32f415.yml create mode 100644 .github/workflows/mps2-an386.yml create mode 100644 .github/workflows/nucleo-l476rg.yml create mode 100644 .github/workflows/nucleo-l4r5zi.yml rename .github/workflows/{main.yml => stm32f4discovery.yml} (52%) diff --git a/.github/workflows/cw308t-stm32f3.yml b/.github/workflows/cw308t-stm32f3.yml new file mode 100644 index 00000000..1730fd1b --- /dev/null +++ b/.github/workflows/cw308t-stm32f3.yml @@ -0,0 +1,21 @@ +name: cw308t-stm32f3 build +on: + push: + branches: + - master + pull_request: + types: [review_requested] +jobs: + build-all: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Install Toolchain + uses: carlosperate/arm-none-eabi-gcc-action@v1.8.0 + with: + release: 13.2.Rel1 + - name: Build All (cw308t-stm32f3) + run: make PLATFORM=cw308t-stm32f3 -j2 diff --git a/.github/workflows/cw308t-stm32f415.yml b/.github/workflows/cw308t-stm32f415.yml new file mode 100644 index 00000000..c44e9f86 --- /dev/null +++ b/.github/workflows/cw308t-stm32f415.yml @@ -0,0 +1,21 @@ +name: cw308t-stm32f415 build +on: + push: + branches: + - master + pull_request: + types: [review_requested] +jobs: + build-all: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Install Toolchain + uses: carlosperate/arm-none-eabi-gcc-action@v1.8.0 + with: + release: 13.2.Rel1 + - name: Build All (cw308t-stm32f415) + run: make PLATFORM=cw308t-stm32f415 -j2 \ No newline at end of file diff --git a/.github/workflows/mps2-an386.yml b/.github/workflows/mps2-an386.yml new file mode 100644 index 00000000..3f20216c --- /dev/null +++ b/.github/workflows/mps2-an386.yml @@ -0,0 +1,21 @@ +name: mps2-an386 build +on: + push: + branches: + - master + pull_request: + types: [review_requested] +jobs: + build-all: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Install Toolchain + uses: carlosperate/arm-none-eabi-gcc-action@v1.8.0 + with: + release: 13.2.Rel1 + - name: Build All (mps2-an386) + run: make PLATFORM=mps2-an386 -j2 \ No newline at end of file diff --git a/.github/workflows/nucleo-l476rg.yml b/.github/workflows/nucleo-l476rg.yml new file mode 100644 index 00000000..46d664f7 --- /dev/null +++ b/.github/workflows/nucleo-l476rg.yml @@ -0,0 +1,21 @@ +name: nucleo-l476rg build +on: + push: + branches: + - master + pull_request: + types: [review_requested] +jobs: + build-all: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Install Toolchain + uses: carlosperate/arm-none-eabi-gcc-action@v1.8.0 + with: + release: 13.2.Rel1 + - name: Build All (nucleo-l476rg) + run: make PLATFORM=nucleo-l476rg -j2 \ No newline at end of file diff --git a/.github/workflows/nucleo-l4r5zi.yml b/.github/workflows/nucleo-l4r5zi.yml new file mode 100644 index 00000000..ec73d32a --- /dev/null +++ b/.github/workflows/nucleo-l4r5zi.yml @@ -0,0 +1,21 @@ +name: nucleo-l4r5zi build +on: + push: + branches: + - master + pull_request: + types: [review_requested] +jobs: + build-all: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Install Toolchain + uses: carlosperate/arm-none-eabi-gcc-action@v1.8.0 + with: + release: 13.2.Rel1 + - name: Build All (nucleo-l4r5zi) + run: make PLATFORM=nucleo-l4r5zi -j2 \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/stm32f4discovery.yml similarity index 52% rename from .github/workflows/main.yml rename to .github/workflows/stm32f4discovery.yml index 4fc8b0c5..b728b42b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/stm32f4discovery.yml @@ -1,3 +1,4 @@ +name: stm32f4discovery build on: push: branches: @@ -17,14 +18,4 @@ jobs: with: release: 13.2.Rel1 - name: Build All (stm32f4discovery) - run: make PLATFORM=stm32f4discovery -j2 - - name: Build All (nucleo-l476rg) - run: make PLATFORM=nucleo-l476rg -j2 - - name: Build All (nucleo-l4r5zi) - run: make PLATFORM=nucleo-l4r5zi -j2 - - name: Build All (cw308t-stm32f3) - run: make PLATFORM=cw308t-stm32f3 -j2 - - name: Build All (cw308t-stm32f415) - run: make PLATFORM=cw308t-stm32f415 -j2 - - name: Build All (mps2-an386) - run: make PLATFORM=mps2-an386 -j2 \ No newline at end of file + run: make PLATFORM=stm32f4discovery -j2 \ No newline at end of file