Skip to content

Commit fbaf1ce

Browse files
revert changes not meant for this patch
1 parent cd35ef2 commit fbaf1ce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build-ci-container.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ on:
2020
jobs:
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 }}
@@ -59,6 +57,12 @@ jobs:
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:

0 commit comments

Comments
 (0)