mirror of https://github.com/ByConity/ByConity
build: support to llvm16.
This commit is contained in:
parent
9bec5650b2
commit
79d4de2486
|
@ -14,7 +14,7 @@ jobs:
|
|||
scm_build:
|
||||
name: Build binary and run stateless tests
|
||||
# Use digest instead of tag to avoid network issue, original image byconity/byconity-ci:24Jan16
|
||||
container: byconity/byconity-ci:24Jan16
|
||||
container: byconity/byconity-ci:llvm16
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Preload docker images
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
scm_build:
|
||||
name: Build binary and run stateless tests
|
||||
# Use digest instead of tag to avoid network issue, original image byconity/byconity-ci:24Jan16
|
||||
container: byconity/byconity-ci:24Jan16
|
||||
container: byconity/byconity-ci:llvm16
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Preload docker images
|
||||
|
|
|
@ -5,7 +5,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
name: Build & Uploads Binaries & Images
|
||||
container: byconity/byconity-ci:24Jan08
|
||||
container: byconity/byconity-ci:llvm16
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Setup Git Proxy.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM byconity/byconity-builder
|
||||
FROM byconity/byconity-builder:llvm16
|
||||
RUN pip install requests packaging && apt-get install -y gdb
|
||||
# Install docker dependencies
|
||||
RUN apt-get install -y apparmor libltdl7 pigz
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pull:
|
||||
docker pull byconity/byconity-ci
|
||||
docker pull byconity/byconity-ci:llvm16
|
||||
|
||||
image:
|
||||
test -f fdbmonitor || curl -L -o fdbmonitor https://github.com/apple/foundationdb/releases/download/7.1.0/fdbmonitor.x86_64
|
||||
|
@ -20,9 +20,9 @@ image:
|
|||
test -f preload_byconity-debian_buster_runit_fdb7_1_27.tar || docker image save --output preload_byconity-debian_buster_runit_fdb7_1_27.tar byconity/debian:buster-runit-fdb7.1.27
|
||||
test -f preload_minio-minio_RELEASE.2024-01-11T07-46-16Z.tar || docker image save --output preload_minio-minio_RELEASE.2024-01-11T07-46-16Z.tar minio/minio:RELEASE.2024-01-11T07-46-16Z
|
||||
test -f preload_minio-mc_RELEASE.2024-01-11T05-49-32Z.tar || docker image save --output preload_minio-mc_RELEASE.2024-01-11T05-49-32Z.tar minio/mc:RELEASE.2024-01-11T05-49-32Z
|
||||
docker build --network=host -t byconity/byconity-ci .
|
||||
docker build --network=host -t byconity/byconity-ci:llvm16 .
|
||||
|
||||
image_push:
|
||||
docker push byconity/byconity-ci
|
||||
docker push byconity/byconity-ci:llvm16
|
||||
image_test:
|
||||
docker run --rm -it byconity/byconity-ci /bin/bash
|
||||
docker run --rm -it byconity/byconity-ci:llvm16 /bin/bash
|
||||
|
|
Loading…
Reference in New Issue