Add cxx-amd64-fedora-41
Some checks failed
on-push / infra/buildenv/node (push) Successful in 1m3s
on-push / infra/buildenv/cxx-amd64-fedora-40 (push) Successful in 15m0s
on-push / infra/buildenv/cxx-amd64-fedora-41 (push) Successful in 15m5s
on-push / infra/buildenv/cxx-amd64-alpine-3.20 (push) Failing after 36s

This commit is contained in:
G.H.O.S.T 2024-12-20 06:15:35 +01:00
parent f44487ba22
commit c80d25474c
Signed by: G.H.O.S.T
GPG Key ID: 3BD93EABD1407B82
2 changed files with 31 additions and 0 deletions

View File

@ -18,6 +18,22 @@ jobs:
run: docker tag code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:${{ gitea.sha }} code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest
- name: Push
run: docker push code.helloryan.se/infra/buildenv/cxx-amd64-fedora-40:latest
infra/buildenv/cxx-amd64-fedora-41:
runs-on: linux
container: code.helloryan.se/infra/misc/docker:latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Login
run: echo ${{ secrets.INFRA_ACCESS_TOKEN }} | docker login -u ${{ gitea.actor }} --password-stdin code.helloryan.se
- name: Build
run: docker buildx build -t code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:${{ gitea.sha }} cxx-amd64-fedora-41
- name: Test
run: docker run --rm code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:${{ gitea.sha }} g++ --version
- name: Tag
run: docker tag code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:${{ gitea.sha }} code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:latest
- name: Push
run: docker push code.helloryan.se/infra/buildenv/cxx-amd64-fedora-41:latest
infra/buildenv/cxx-amd64-alpine-3.20:
runs-on: linux
container: code.helloryan.se/infra/misc/docker:latest

View File

@ -0,0 +1,15 @@
FROM fedora:40
RUN true \
&& dnf -y update \
&& dnf -y install wget curl g++ gcc-plugin-devel openssl git make nodejs xxd \
&& dnf -y install glibc-static libstdc++-static \
&& dnf clean all
RUN true \
&& mkdir ~/build2-build \
&& cd ~/build2-build \
&& curl -sSfO https://download.build2.org/0.17.0/build2-install-0.17.0.sh \
&& sh build2-install-0.17.0.sh --yes --trust yes \
&& cd / \
&& rm -rf ~/build2-build