Skip to content

feat(tateyama, tateyama-bootstrap): implement CLI to conduct forced l… #1518

feat(tateyama, tateyama-bootstrap): implement CLI to conduct forced l…

feat(tateyama, tateyama-bootstrap): implement CLI to conduct forced l… #1518

Workflow file for this run

name: tsurugidb-CI
on: [push, pull_request, workflow_dispatch]
jobs:
Build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
runs-on: [self-hosted, docker]
timeout-minutes: 30
container:
image: ghcr.io/project-tsurugi/tsurugi-ci:${{ matrix.os }}
volumes:
- ${{ vars.ccache_dir }}:${{ vars.ccache_dir }}
- ${{ vars.gradle_cache_dir }}:/root/.gradle
defaults:
run:
shell: bash
env:
CCACHE_CONFIGPATH: ${{ vars.ccache_dir }}/ccache.conf
CCACHE_DIR: ${{ vars.ccache_dir }}/${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install
run: |
git config --global --add safe.directory "${GITHUB_WORKSPACE}"
mkdir build-install-test
./install.sh --prefix="$(pwd)/build-install-test"
env:
TG_COMMON_CMAKE_BUILD_OPTIONS: '-DCMAKE_CXX_COMPILER_LAUNCHER=ccache'
- name: Generate_Install_Archive
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: |
./dist/install/generate-install-archive.sh
- name: Upload_Artifact
if: ${{ matrix.os == 'ubuntu-22.04' }}
uses: actions/upload-artifact@v4
with:
name: install-archive
path: tsurugidb-*.tar.gz
- name: Show_Tsurugi_Version
if: ${{ matrix.os == 'ubuntu-22.04' }}
run: |
tar xf tsurugidb-*.tar.gz --strip-components 1 --wildcards */BUILDINFO.md
cat BUILDINFO.md >> ${GITHUB_STEP_SUMMARY}
Test:
uses: ./.github/workflows/ci-test-modules.yml
secrets: inherit
permissions:
checks: write