Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/mizux/rc' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Nov 10, 2023
2 parents 1d696f9 + 52f58e7 commit 82ea829
Show file tree
Hide file tree
Showing 1,094 changed files with 36,198 additions and 16,942 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/aarch64_toolchain.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: aarch64 Toolchain

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

# Building using the github runner environement directly.
jobs:
# Building using the github runner environement directly.
aarch64:
runs-on: ubuntu-latest
strategy:
matrix:
targets: [
[aarch64], # bootlin
[aarch64be] # bootlin
]
targets: [aarch64, aarch64be]
fail-fast: false
env:
TARGET: ${{ matrix.targets[0] }}
name: Linux • Toolchain ${{ matrix.targets }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: make --directory=cmake ${TARGET}_build
- name: Test
run: make --directory=cmake ${TARGET}_test
- uses: actions/checkout@v4
- name: Build env stage
run: make --directory=cmake toolchain_${{ matrix.targets }}_env
- name: Build devel stage
run: make --directory=cmake toolchain_${{ matrix.targets }}_devel
- name: Build build stage
run: make --directory=cmake toolchain_${{ matrix.targets }}_build
- name: Build Test stage
run: make --directory=cmake toolchain_${{ matrix.targets }}_test
130 changes: 74 additions & 56 deletions .github/workflows/amd64_cmake_glop_cpp.yml
Original file line number Diff line number Diff line change
@@ -1,65 +1,83 @@
name: amd64 CMake Glop C++

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

# Building using the github runner environement directly.
jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build env image
run: make --directory=cmake glop_env
- name: Build devel image
run: make --directory=cmake glop_devel
- name: Build project
run: make --directory=cmake glop_build
- name: Test project
run: make --directory=cmake glop_test
- name: Build Install env image
run: make --directory=cmake glop_install_env
- name: Build Install devel image
run: make --directory=cmake glop_install_devel
- name: Build Install
run: make --directory=cmake glop_install_build
- name: Test Install
run: make --directory=cmake glop_install_test
- uses: actions/checkout@v4
- name: Build env image
run: make --directory=cmake glop_env
- name: Build devel image
run: make --directory=cmake glop_devel
- name: Build project
run: make --directory=cmake glop_build
- name: Test project
run: make --directory=cmake glop_test
- name: Build Install env image
run: make --directory=cmake glop_install_env
- name: Build Install devel image
run: make --directory=cmake glop_install_devel
- name: Build Install
run: make --directory=cmake glop_install_build
- name: Test Install
run: make --directory=cmake glop_install_test

linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON -DBUILD_CXX=OFF -DBUILD_GLOP=ON
- name: Build
run: cmake --build build --config Release --target all -v
- name: Install
run: cmake --build build --config Release --target install -v -- DESTDIR=install

macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON -DBUILD_CXX=OFF -DBUILD_GLOP=ON
- name: Build
run: cmake --build build --target all -v
- name: Install
run: cmake --build build --target install -v -- DESTDIR=install

windows:
runs-on: windows-latest
# ref: https://github.com/actions/runner-images
native:
strategy:
matrix:
cmake: [
{
runner: "ubuntu-latest",
generator: "Unix Makefiles",
config: Release,
build_target: all,
test_target: test,
install_target: install
},
{
runner: "macos-latest",
generator: "Xcode",
config: Release,
build_target: ALL_BUILD,
test_target: RUN_TESTS,
install_target: install
},
{
runner: "windows-latest",
generator: "Visual Studio 17 2022",
config: Release,
build_target: ALL_BUILD,
test_target: RUN_TESTS,
install_target: INSTALL
},
]
fail-fast: false
name: ${{ matrix.cmake.runner }} • CMake • Glop
runs-on: ${{ matrix.cmake.runner }}
steps:
- uses: actions/checkout@v3
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -DBUILD_DEPS=ON -DBUILD_CXX=OFF -DBUILD_GLOP=ON
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -- /maxcpucount
- name: Install
run: cmake --build build --config Release --target INSTALL -- /maxcpucount
- uses: actions/checkout@v4
- name: Check cmake
run: cmake --version
- name: Configure
run: >
cmake -S. -Bbuild
-G "${{ matrix.cmake.generator }}"
-DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }}
-DBUILD_DEPS=ON
-DBUILD_CXX=OFF -DBUILD_GLOP=ON
-DCMAKE_INSTALL_PREFIX=install
- name: Build
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.build_target }}
-v -j2
- name: Install
run: >
cmake --build build
--config ${{ matrix.cmake.config }}
--target ${{ matrix.cmake.install_target }}
-v
27 changes: 12 additions & 15 deletions .github/workflows/amd64_docker_bazel.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
# ref: https://github.com/actions/runner-images
name: amd64 Docker Bazel

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
bazel:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow_failure }}
strategy:
matrix:
distro: [alpine, archlinux, centos, debian, fedora, opensuse, ubuntu]
allow_failure: [false]
fail-fast: false
env:
DISTRO: ${{ matrix.distro }}
name: ${{ matrix.distro }} • Bazel • C++
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build env image
run: make --directory=bazel ${DISTRO}_env
- name: Build devel image
run: make --directory=bazel ${DISTRO}_devel
- name: Build project
run: make --directory=bazel ${DISTRO}_build
- name: Test project
run: make --directory=bazel ${DISTRO}_test
- uses: actions/checkout@v4
- name: Build env image
run: make --directory=bazel ${{ matrix.distro }}_env
- name: Build devel image
run: make --directory=bazel ${{ matrix.distro }}_devel
- name: Build project
run: make --directory=bazel ${{ matrix.distro }}_build
- name: Test project
run: make --directory=bazel ${{ matrix.distro }}_test
47 changes: 23 additions & 24 deletions .github/workflows/amd64_docker_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
# ref: https://github.com/actions/runner-images
name: amd64 Docker CMake

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
cmake:
runs-on: ubuntu-latest
strategy:
matrix:
distro: [alpine, archlinux, centos, debian, fedora, opensuse, ubuntu]
lang: [cpp, python, dotnet, java]
fail-fast: false
env:
DISTRO: ${{ matrix.distro }}
LANG: ${{ matrix.lang }}
name: ${{ matrix.distro }} • CMake • ${{ matrix.lang }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build base image
run: make --directory=cmake ${DISTRO}_base
- name: Build env image
run: make --directory=cmake ${DISTRO}_${LANG}_env
- name: Build devel image
run: make --directory=cmake ${DISTRO}_${LANG}_devel
- name: Build project
run: make --directory=cmake ${DISTRO}_${LANG}_build
- name: Test project
run: make --directory=cmake ${DISTRO}_${LANG}_test
- uses: actions/checkout@v4
- name: Build base image
run: make --directory=cmake ${{ matrix.distro }}_base
- name: Build env image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_env
- name: Build devel image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_devel
- name: Build project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_build
- name: Test project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_test

- name: Build Install env image
run: make --directory=cmake ${DISTRO}_${LANG}_install_env
- name: Build Install devel image
run: make --directory=cmake ${DISTRO}_${LANG}_install_devel
- name: Build Install
run: make --directory=cmake ${DISTRO}_${LANG}_install_build
- name: Test Install
run: make --directory=cmake ${DISTRO}_${LANG}_install_test
- name: Build install env image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_env
- name: Build install devel image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_devel
- name: Build install project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_build
- name: Test install project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_test
29 changes: 0 additions & 29 deletions .github/workflows/amd64_docker_make.yml

This file was deleted.

33 changes: 16 additions & 17 deletions .github/workflows/amd64_freebsd_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: amd64 FreeBSD CMake

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

# Only macos runner provide virtualisation with vagrant/virtualbox installed.
# ref: https://github.com/actions/runner-images/tree/main/images/macos
# ref: https://app.vagrantup.com/generic/boxes/freebsd13
jobs:
# Only macos runner provide virtualisation with vagrant/virtualbox installed.
FreeBSD:
runs-on: macos-10.15
continue-on-error: ${{ matrix.allow_failure }}
vagrant:
strategy:
fail-fast: false
matrix:
Expand All @@ -15,19 +15,18 @@ jobs:
allow_failure: [false]
include:
- distro: freebsd
lang: java
lang: dotnet
allow_failure: true
- distro: freebsd
lang: dotnet
lang: java
allow_failure: true
env:
DISTRO: ${{ matrix.distro }}
LANG: ${{ matrix.lang }}
name: FreeBSD • CMake • ${{ matrix.lang }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: vagrant version
run: Vagrant --version
- name: VirtualBox version
run: virtualbox -h
- name: Build
run: make --directory=cmake ${DISTRO}_${LANG}
- uses: actions/checkout@v4
- name: vagrant version
run: Vagrant --version
- name: VirtualBox version
run: virtualbox -h
- name: Build
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}
Loading

0 comments on commit 82ea829

Please sign in to comment.