[CI] Updated build matrix, updated docs regarding CI

This commit is contained in:
kobalicek
2023-02-25 00:46:33 +01:00
parent 8552e286c2
commit 965d19506f
2 changed files with 13 additions and 50 deletions

View File

@@ -156,7 +156,9 @@ jobs:
matrix: matrix:
include: include:
- { host: "macos-12" , os: "freebsd", osver: "13.1", cc: "clang", arch: "x86-64", build_type: "Release", defs: "ASMJIT_TEST=ON" } - { host: "macos-12" , os: "freebsd", osver: "13.1", cc: "clang", arch: "x86-64", build_type: "Release", defs: "ASMJIT_TEST=ON" }
- { host: "macos-12" , os: "netbsd" , osver: "9.2" , cc: "clang", arch: "x86-64", build_type: "Release", defs: "ASMJIT_TEST=ON" }
- { host: "macos-12" , os: "openbsd", osver: "7.2" , cc: "clang", arch: "x86-64", build_type: "Release", defs: "ASMJIT_TEST=ON" } - { host: "macos-12" , os: "openbsd", osver: "7.2" , cc: "clang", arch: "x86-64", build_type: "Release", defs: "ASMJIT_TEST=ON" }
- { host: "ubuntu-latest", os: "openbsd", osver: "7.2" , cc: "clang", arch: "arm64" , build_type: "Release", defs: "ASMJIT_TEST=ON" }
name: "${{matrix.os}}-${{matrix.osver}} (${{matrix.cc}}, ${{matrix.arch}}, ${{matrix.build_type}})" name: "${{matrix.os}}-${{matrix.osver}} (${{matrix.cc}}, ${{matrix.arch}}, ${{matrix.build_type}})"
runs-on: ${{matrix.host}} runs-on: ${{matrix.host}}
@@ -184,7 +186,10 @@ jobs:
set -e set -e
PATH="/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:$PATH:$(pwd)/build-actions" PATH="/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:$PATH:$(pwd)/build-actions"
CI_NETBSD_USE_PKGIN=1
export PATH export PATH
export CI_NETBSD_USE_PKGIN
sh ./build-actions/prepare-environment.sh sh ./build-actions/prepare-environment.sh
python3 build-actions/action.py \ python3 build-actions/action.py \
@@ -195,47 +200,3 @@ jobs:
--config=source/.github/workflows/build-config.json \ --config=source/.github/workflows/build-config.json \
--build-type=${{matrix.build_type}} \ --build-type=${{matrix.build_type}} \
--build-defs=${{matrix.defs}} --build-defs=${{matrix.defs}}
build-netbsd:
strategy:
fail-fast: false
matrix:
include:
- { title: "netbsd", host: "macos-12", os: "netbsd", cc: "clang", arch: "x86_64", build_type: "Release", defs: "ASMJIT_TEST=ON" }
name: "${{matrix.title}} (${{matrix.cc}}, ${{matrix.arch}}, ${{matrix.build_type}})"
runs-on: ${{matrix.host}}
steps:
- name: "Checkout"
uses: actions/checkout@v3
with:
path: "source"
- name: "Checkout Build Actions"
uses: actions/checkout@v3
with:
repository: build-actions/build-actions
path: "build-actions"
- name: Build & Test (VM)
uses: vmactions/netbsd-vm@v0
with:
mem: 6144
usesh: true
copyback: false
run: |
set -e
PATH="/usr/sbin:/usr/pkg/sbin:/usr/pkg/bin:$PATH:$(pwd)/build-actions"
export PATH
bash ./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}}

View File

@@ -120,9 +120,13 @@ namespace asmjit {
//! //!
//! - Tested: //! - Tested:
//! //!
//! - **Linux** - Tested by GitHub Actions (any distribution is generally supported, CI uses Ubuntu images). //! - **BSD** - FreeBSD, NetBSD, and OpenBSD tested by GitHub Actions (only recent images are tested by CI). BSD
//! runners only test BSD images with clang compiler.
//! //!
//! - **Mac OS** - Tested by GitHub Actions (any version is supported). //! - **Linux** - Tested by GitHub Actions (only recent Ubuntu images are tested by CI, in general any distribution
//! should be supported as AsmJit has no dependencies).
//!
//! - **Mac OS** - Tested by GitHub Actions.
//! //!
//! - **Windows** - Tested by GitHub Actions - (Windows 7+ is officially supported). //! - **Windows** - Tested by GitHub Actions - (Windows 7+ is officially supported).
//! //!
@@ -131,8 +135,6 @@ namespace asmjit {
//! //!
//! - Untested: //! - Untested:
//! //!
//! - **BSDs** - No maintainers, no CI environment to regularly test BSDs, but they should work out of box.
//!
//! - **Haiku** - Reported to work, not tested by CI. //! - **Haiku** - Reported to work, not tested by CI.
//! //!
//! - **Other** operating systems would require some testing and support in the following files: //! - **Other** operating systems would require some testing and support in the following files: