Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ name: CI
# run under node (checks/emscripten); a program that starts one
# fails at LINK naming the openkal symbol (checks/absent)
#
# The library is built with the released mcpp, 2026.10.30.1. The ok images
# The library is built with the released mcpp, 2026.11.2.1. The ok images
# (MCPP_PLATFORM) and checks/hosted (its manifest) select openkal-platform
# 0.19.0 and take their C library and C++ run-time from it (openkal 0.18's
# implementations among them). The library
# 0.21.0 and take their C library and C++ run-time from it (openkal 0.21's
# implementations among them; openkal-musl 0.26.0 embeds its allocator, which
# needs mcpp 2026.11 or later). The library
# itself needs 2026.10.27.1 or later, the first that selects a platform
# (SPEC-013). A dispatch may name a branch of mcpp instead (`mcpp_ref'), which
# the latest released mcpp builds and which is then used.
Expand All @@ -34,7 +35,7 @@ on:

env:
MCPP_SOURCE_REF: ${{ github.event.inputs.mcpp_ref || vars.MCPP_SOURCE_REF || '' }}
MCPP_INSTALL: ${{ (github.event.inputs.mcpp_ref || vars.MCPP_SOURCE_REF) && 'mcpp' || 'mcpp@2026.10.30.1' }}
MCPP_INSTALL: ${{ (github.event.inputs.mcpp_ref || vars.MCPP_SOURCE_REF) && 'mcpp' || 'mcpp@2026.11.2.1' }}
XLINGS_VERSION: v2026.10.26.1
XLINGS_NON_INTERACTIVE: '1'

Expand Down Expand Up @@ -219,10 +220,10 @@ jobs:
runs-on: ubuntu-24.04
timeout-minutes: 120
env:
# openkal 0.19.0, which this release is written against, is the one
# openkal-platform 0.20.1's version group names; the released mcpp's
# openkal rows pin 0.18.0, whose group names openkal 0.17.1.
MCPP_PLATFORM: openkal-platform@0.20.1
# openkal 0.21.0, which this release is written against, is the one
# openkal-platform 0.21.0's version group names; mcpp 2026.11.2.2 and
# later pin it for their openkal rows.
MCPP_PLATFORM: openkal-platform@0.21.0
defaults:
run:
shell: bash
Expand Down Expand Up @@ -269,10 +270,10 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 45
env:
# openkal 0.19.0, which this release is written against, is the one
# openkal-platform 0.20.1's version group names; the released mcpp's
# openkal rows pin 0.18.0, whose group names openkal 0.17.1.
MCPP_PLATFORM: openkal-platform@0.20.1
# openkal 0.21.0, which this release is written against, is the one
# openkal-platform 0.21.0's version group names; mcpp 2026.11.2.2 and
# later pin it for their openkal rows.
MCPP_PLATFORM: openkal-platform@0.21.0
strategy:
fail-fast: false
matrix:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.2.7

- **openkal 0.21.** The implementations of openkal 0.21 (openkal-linux 0.22.0,
openkal-macos 0.19.0, openkal-windows 0.17.0, openkal-emscripten 0.10.0). This
library's interface is unchanged. An ok image over this release selects
openkal-platform 0.21.0, whose loader maps an image's instructions from its
file and whose C library's allocator is mimalloc; `checks/hosted` and the
image checks take theirs from it, built with mcpp 2026.11.2.1.

## 0.2.6

- **openkal-macos 0.17.1**, whose `kal_task_current` reads the thread's
Expand Down
2 changes: 1 addition & 1 deletion checks/hosted/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ version = "0.1.0"
os = { path = "../.." }

[target.'cfg(any(linux, macos, windows))']
platform = "openkal-platform@0.20.1"
platform = "openkal-platform@0.21.0"

# The tests are the package's own, each reached by an include from
# tests/<name>.cpp here (a test program is a file of the package that runs it).
Expand Down
12 changes: 6 additions & 6 deletions mcpp.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
namespace = "mcpplibs"
name = "os"
version = "0.2.6"
version = "0.2.7"
description = "mcpplibs.os: a C++ operating-system library over openkal --- processes, files, environment, terminals, directories and local IPC, with compile-time platform constants and a few platform modules."
license = "Apache-2.0"
authors = ["mcpplibs"]
Expand All @@ -12,23 +12,23 @@ repo = "https://github.com/mcpplibs/os"
# own C and C++ runtime. A program that wants the standalone arrangement, or
# the image arrangement of `<arch>-openkal`, selects it in its own manifest.
[dependencies]
openkal = "0.19.0"
openkal = "0.21.0"

[target.linux.dependencies]
openkal-linux = "0.20.0"
openkal-linux = "0.22.0"

[target.macos.dependencies]
openkal-macos = "0.17.1"
openkal-macos = "0.19.0"

[target.windows.dependencies]
openkal-windows = "0.15.0"
openkal-windows = "0.17.0"

# Emscripten (`wasm32-emscripten`): openkal written above the C library, with
# twelve of openkal's fifteen interfaces. `openkal.process', `openkal.exec' and
# `openkal.space' are absent, so a program that starts one fails at link
# naming the symbol; `openkal.task' is present in a `-pthread' link only.
[target.'cfg(os = "emscripten")'.dependencies]
openkal-emscripten = "0.8.0"
openkal-emscripten = "0.10.0"

[targets.os]
kind = "lib"
Expand Down
Loading