Skip to content

fixup! test

fixup! test #55

Workflow file for this run

name: "Build"
on:
push:
pull_request:
defaults:
run:
shell: bash
jobs:
foo:
runs-on: ubuntu-latest
steps:
- run: true
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Extract changelog
uses: sean0x42/markdown-extract@v2
id: extract_changelog
with:
file: changelog.md
pattern: '\[Unreleased\].+'
no-print-matched-heading: true
- run: printf '${{ steps.extract_changelog.outputs.markdown }}'
# jobs:
# build:
# strategy:
# fail-fast: false
# matrix:
# include:
# # - { title: "linux-lib" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Debug" , problem_matcher: "cpp" }
# # - { title: "macos-lib" , os: "macos-latest" , cc: "clang" , arch: "x64", build_type: "Debug" , problem_matcher: "cpp" }
# # - { title: "windows-lib" , os: "windows-latest", cc: "vs2022" , arch: "x64", build_type: "Debug" , problem_matcher: "cpp" }
# #
# # - { title: "diag-asan" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", diagnostics: "address" , defs: "BLEND2D_TEST=ON" }
# # - { title: "diag-ubsan" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", diagnostics: "undefined", defs: "BLEND2D_TEST=ON" }
# # - { title: "diag-valgrind" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", diagnostics: "valgrind" , defs: "BLEND2D_TEST=ON" }
# # - { title: "diag-scan-build" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Debug" , diagnostics: "scan-build" }
# #
# # - { title: "no-futex" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON,BLEND2D_NO_FUTEX=1" }
# # - { title: "no-intrinsics" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON,BLEND2D_NO_INTRINSICS=1" }
# # - { title: "no-tls" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON,BLEND2D_NO_TLS=1" }
# #
# # - { title: "force-avx" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON,CMAKE_CXX_FLAGS=-mavx" }
# # - { title: "force-avx2" , os: "ubuntu-latest" , cc: "clang" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON,CMAKE_CXX_FLAGS=-mavx2" }
# #
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-7" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "gcc-8" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-9" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-10" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-11" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "gcc-12" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-20.04" , cc: "clang-10", arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-11", arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-12", arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-13", arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "linux" , os: "ubuntu-22.04" , cc: "clang-14", arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "macos" , os: "macos-12" , cc: "gcc-11" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "macos" , os: "macos-12" , cc: "gcc-11" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "macos" , os: "macos-12" , cc: "clang" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "macos" , os: "macos-12" , cc: "clang" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2019" , cc: "vs2019" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x86", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x86", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x64", build_type: "Debug" , defs: "BLEND2D_TEST=ON" }
# # - { title: "windows" , os: "windows-2022" , cc: "vs2022" , arch: "x64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# #
# # - { host: "macos-12" , os: "freebsd", osver: "13.2", cc: "clang", arch: "x86-64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { host: "macos-12" , os: "netbsd" , osver: "9.3" , cc: "clang", arch: "x86-64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# - { host: "macos-12" , os: "openbsd", osver: "7.4" , cc: "clang", arch: "x86-64", build_type: "Release", defs: "BLEND2D_TEST=ON" }
# # - { host: "ubuntu-latest" , os: "openbsd", osver: "7.4" , cc: "clang", arch: "arm64" , build_type: "Release", defs: "BLEND2D_TEST=ON" }
#
# name: "${{matrix.title || format('{0}-{1}', matrix.os, matrix.osver)}} (${{matrix.cc}}, ${{matrix.arch}}, ${{matrix.build_type}})"
# runs-on: "${{matrix.host || matrix.os}}"
#
# steps:
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
#
# # - name: "Checkout Blend2D"
# # uses: actions/checkout@v3
# # with:
# # path: "source"
# #
# # - name: "Checkout AsmJit"
# # uses: actions/checkout@v3
# # with:
# # repository: asmjit/asmjit
# # path: "source/3rdparty/asmjit"
# #
# # - name: "Checkout Build Actions"
# # uses: actions/checkout@v3
# # with:
# # repository: build-actions/build-actions
# # path: "build-actions"
# #
# # - name: "Setup Python"
# # uses: actions/setup-python@v4
# # with:
# # python-version: "3.x"
# #
# # - name: "Build & Test"
# # if: ${{!matrix.host}}
# # run: python build-actions/action.py
# # --step=all
# # --compiler=${{matrix.cc}}
# # --architecture=${{matrix.arch}}
# # --source-dir=source
# # --config=source/.github/workflows/build-config.json
# # --build-type=${{matrix.build_type}}
# # --build-defs=${{matrix.defs}}
# #
# # - name: "Build & Test in VM"
# # if: ${{matrix.host}}
# # uses: cross-platform-actions/action@master
# # with:
# # operating_system: ${{matrix.os}}
# # architecture: ${{matrix.arch}}
# # version: ${{matrix.osver}}
# # sync_files: runner-to-vm
# # shell: bash
# # run: |
# # set -e
# #
# # PATH="/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:$PATH:$(pwd)/build-actions"
# # CI_NETBSD_USE_PKGIN=1
# #
# # export PATH
# # export CI_NETBSD_USE_PKGIN
# #
# # sh ./build-actions/prepare-environment.sh
# # python3 build-actions/action.py \
# # --step=all \
# # --compiler=${{matrix.cc}} \
# # --architecture=${{matrix.arch}} \
# # --source-dir=source \
# # --config=source/.github/workflows/build-config.json \
# # --build-type=${{matrix.build_type}} \
# # --build-defs=${{matrix.defs}}