Lines Matching +full:docker +full:- +full:run

1 ---
2 # Tools that can save round-trips to github and a lot of time:
4 # yamllint -f parsable pull_request.yml
6 # yaml merge-expand pull_request.yml exp.yml &&
7 # diff -w -u pull_request.yml exp.yml
16 # yamllint disable-line rule:truthy
20 - 'main'
21 - 'stable-**'
22 - '**-stable'
25 - 'main'
26 - 'stable-**'
27 - '**-stable'
29 # Allows you to run this workflow manually from the Actions tab
37 runs-on: ubuntu-22.04
40 - uses: actions/checkout@v3
42 - name: apt get doxygen graphviz
43 run: sudo apt-get -y install ninja-build doxygen graphviz
45 - name: Show warnings but fail only on errors
46 run: cmake -GNinja -S doc -B docbuild && ninja -C docbuild -v doc
58 - name: Fail on warnings
59 run: printf
61 ninja -C docbuild -v doc
64 # This is unfortunately a mix of sof-docs/.github/ + the previous job
66 # build sof-docs here too because waiting for sof-docs CI to find
67 # regressions introduced in sof.git is very time-consuming, see
69 # https://github.com/thesofproject/sof/pull/5731#issuecomment-1175630147
70 sof-docs:
71 runs-on: ubuntu-20.04 # sof-docs is still stuck to this for now
74 - uses: actions/checkout@v3
76 - name: apt-get update
77 run: sudo apt-get update
79 - name: apt-get install
80 run: sudo apt-get -y install
81 doxygen make default-jre graphviz cmake ninja-build
83 - name: doxygen
84 run: cmake -GNinja -S doc/ -B doxybuild/ && ninja -C doxybuild/ -v doc
87 - name: clone sof-docs
88 run: git clone https://github.com/thesofproject/sof-docs sof-docs/
90 - name: PATH += .local/bin
91 run: echo "$HOME/.local/bin" >> $GITHUB_PATH
93 - name: 'pip install -r sof-docs/scripts/requirements.txt'
94 run: pip install -r sof-docs/scripts/requirements.txt
96 - name: build sof-docs
97 run: make -C sof-docs/ html SOF_DOC_BUILD="$(pwd)"/doxybuild/
102 # built. This makes sure platforms without any open-source toolchain
103 # are added in the right place and do not accidentally break the -a
104 # option, Docker testing etc.
105 gcc-build-default-platforms:
106 runs-on: ubuntu-22.04
109 - uses: actions/checkout@v3
110 with: {fetch-depth: 5, submodules: recursive}
112 - name: docker
113 run: docker pull thesofproject/sof && docker tag thesofproject/sof sof
115 - name: xtensa-build-all.sh -a
116 run: ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a ||
117 ./scripts/docker-run.sh ./scripts/xtensa-build-all.sh -a -j 1
120 gcc-build-only:
121 runs-on: ubuntu-20.04
124 fail-fast: false
137 - uses: actions/checkout@v3
138 with: {fetch-depth: 0, submodules: recursive}
140 - name: docker
141 run: docker pull thesofproject/sof && docker tag thesofproject/sof sof
143 - name: xtensa-build-all.sh platforms
146 run: ./scripts/docker-run.sh
147 ./scripts/xtensa-build-all.sh -r ${PLATFORM}
149 # Warning: there is a fair amount of duplication between 'build-only'
150 # and 'qemu-boot' because github does not support YAML anchors as of Jan
156 qemu-boot-test:
157 runs-on: ubuntu-20.04
160 fail-fast: false
162 # Compiler-based groups, see HOST= compilers in
163 # xtensa-build-all.sh. Pay attention to commas and whitespace.
172 - uses: actions/checkout@v3
173 with: {fetch-depth: 0, submodules: recursive}
175 - name: turn off HAVE_AGENT
176 run: echo CONFIG_HAVE_AGENT=n >
177 src/arch/xtensa/configs/override/no-agent.config
179 - name: docker SOF
180 run: docker pull thesofproject/sof && docker tag thesofproject/sof sof
182 - name: xtensa-build-all.sh -o no-agent platforms
185 run: ./scripts/docker-run.sh
186 ./scripts/xtensa-build-all.sh -o no-agent -r ${PLATFORM}
188 - name: docker QEMU
189 run: docker pull thesofproject/sofqemu &&
190 docker tag thesofproject/sofqemu sofqemu
192 - name: qemu-check
195 run: ./scripts/docker-qemu.sh
196 ../sof.git/scripts/qemu-check.sh ${PLATFORM}