Skip to content

Commit

Permalink
.github: add build-tools.sh (all) back, lost with Travis
Browse files Browse the repository at this point in the history
We used to do this in Travis, see commit 7072eb4 ("travis: run
build-tools.sh with CMAKE_BUILD_TYPE=Release") and older.

Related to issue thesofproject#4141 build-tools.sh -T does not build development
topologies.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb committed May 22, 2021
1 parent 825cf48 commit 451c62e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: User space tools/ directory

# 'workflow_dispatch' allows running this workflow manually from the
# 'Actions' tab

# yamllint disable-line rule:truthy
on: [pull_request, workflow_dispatch]

jobs:
# This is not the same as building every ./build-tools.sh option.
top-level_default_CMake_target_ALL:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

# The ALSA version in Ubuntu 20.04 is buggy
# (https://github.com/thesofproject/sof/issues/2543) and likely
# getting out of date soon
- name: docker
run: docker pull thesofproject/sof && docker tag thesofproject/sof sof

# For some reason gcc has more warnings in Release mode
- name: build-tools
run: CMAKE_BUILD_TYPE=Release ./scripts/docker-run.sh
./scripts/build-tools.sh

0 comments on commit 451c62e

Please sign in to comment.