File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2020jobs :
2121 build-ci-container :
2222 if : github.repository_owner == 'llvm'
23- runs-on : llvm-premerge-linux-runners
24- container :
25- image : gcr.io/kaniko-project/executor:debug
23+ runs-on : depot-ubuntu-22.04-16
2624 outputs :
2725 container-name : ${{ steps.vars.outputs.container-name }}
2826 container-name-tag : ${{ steps.vars.outputs.container-name-tag }}
5957 path : ${{ steps.vars.outputs.container-filename }}
6058 retention-days : 14
6159
60+ - name : Test Container
61+ run : |
62+ for image in ${{ steps.vars.outputs.container-name-tag }} ${{ steps.vars.outputs.container-name }}; do
63+ podman run --rm -it $image /usr/bin/bash -x -c 'printf '\''#include <iostream>\nint main(int argc, char **argv) { std::cout << "Hello\\n"; }'\'' | clang++ -x c++ - && ./a.out | grep Hello'
64+ done
65+
6266 push-ci-container :
6367 if : github.event_name == 'push'
6468 needs :
You can’t perform that action at this time.
0 commit comments