Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 26 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,39 @@ jobs:
run: ./scripts/host-testbench.sh


# This is a bit redundant with the other jobs below and with the (much
# faster!) installer[.yml] but it may differ in which platforms are
# built. This makes sure platforms without any open-source toolchain
# are added in the right place and do not accidentally break the -a
# option, Docker testing etc.
gcc-build-default-platforms:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
with: {fetch-depth: 5, submodules: recursive}

- name: docker
run: docker pull thesofproject/sof && docker tag thesofproject/sof sof

- name: xtensa-build-all.sh -a
run: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a ||
./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a -j 1


gcc-build-only:
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
# Use groups to avoid spamming the web interface.
# Don't use a single big group so a single failure does not block
# all other builds.
# Use groups to avoid spamming the web interface. Pay attention
# to COMMAS. Don't use a single big group so a single failure
# does not block all other builds.
platform: [imx8ulp,
sue jsl tgl,
rn,
# TODO: enable mt81xx after docker image udpated
# mt8186, mt8195,
mt8186 mt8195,
]

steps:
Expand All @@ -107,7 +126,7 @@ jobs:
- name: docker
run: docker pull thesofproject/sof && docker tag thesofproject/sof sof

- name: xtensa-build-all
- name: xtensa-build-all.sh platforms
env:
PLATFORM: ${{ matrix.platform }}
run: ./scripts/docker-run.sh
Expand Down Expand Up @@ -146,7 +165,7 @@ jobs:
- name: docker SOF
run: docker pull thesofproject/sof && docker tag thesofproject/sof sof

- name: xtensa-build-all -o no-agent
- name: xtensa-build-all.sh -o no-agent platforms
env:
PLATFORM: ${{ matrix.platform }}
run: ./scripts/docker-run.sh
Expand Down