Hello BitShift Validate

This commit is contained in:
2026-06-24 14:13:35 +02:00
commit 3caa3d05d6
57 changed files with 6363 additions and 0 deletions
+70
View File
@@ -0,0 +1,70 @@
name: on-push
on:
push:
tags-ignore:
- '**'
branches:
- '**'
jobs:
gcc:
runs-on: linux
container: code.helloryan.se/infra/buildenv/f44-x86_64-unified:latest
steps:
- name: Prepare environment
run: |
mkdir /src
- name: Configure repository access
run: |
git config --global http.$GITHUB_SERVER_URL/.extraheader "Authorization: token ${{ secrets.PACKAGE_PULL_TOKEN }}"
- name: Fetch repository
run: |
cd /src
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git .
git checkout "$GITHUB_SHA"
- name: Create build configuration
run: |
bpkg create -d /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
- name: Initialize
run: |
cd /src
bdep init -A /build
- name: Build
run: |
cd /src
b
- name: Test
run: |
cd /src
b -j 1 -s test
clang:
runs-on: linux
container: code.helloryan.se/infra/buildenv/f44-x86_64-unified:latest
steps:
- name: Prepare environment
run: |
mkdir /src
- name: Configure repository access
run: |
git config --global http.$GITHUB_SERVER_URL/.extraheader "Authorization: token ${{ secrets.PACKAGE_PULL_TOKEN }}"
- name: Fetch repository
run: |
cd /src
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git .
git checkout "$GITHUB_SHA"
- name: Create build configuration
run: |
bpkg create -d /build cc config.cxx=clang++ config.cc.coptions="-Wall -Werror"
- name: Initialize
run: |
cd /src
bdep init -A /build
- name: Build
run: |
cd /src
b
- name: Test
run: |
cd /src
b -j 1 -s test
+38
View File
@@ -0,0 +1,38 @@
name: on-push
on: workflow_dispatch
jobs:
publish-docs:
runs-on: linux
container: code.helloryan.se/infra/buildenv/f44-x86_64-unified:latest
steps:
- name: Prepare environment
run: |
mkdir /src
- name: Configure repository access
run: |
git config --global http.$GITHUB_SERVER_URL/.extraheader "Authorization: token ${{ secrets.PACKAGE_PULL_TOKEN }}"
- name: Configure MinIO CLI
run: |
mc alias set garage https://buckets.helloryan.se/ ${{ secrets.BITSHIFT_S3_KEY_ID }} ${{ secrets.BITSHIFT_S3_SECRET_KEY }}
- name: Fetch repository
run: |
cd /src
git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git .
git checkout "$GITHUB_SHA"
- name: Create build configuration
run: |
bpkg create -d /build cc config.cxx=g++ config.cc.coptions="-Wall -Werror"
- name: Initialize
run: |
cd /src
bdep init -A /build
- name: Build Documentation
run: |
cd /src
b alias{docs}
- name: Publish Documentation
run: |
cd /build/bitshift-validate/docs/html
mc mirror --remove --overwrite . garage/validate.bitshift.helloryan.se/