Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4cc95f8
add nanoclr posix
Ellerbach Apr 14, 2026
31e637e
Code style fixes for nanoframework/nf-interpreter PR#3313 (#3314)
nfbot Apr 15, 2026
20e1127
Update src/CLR/Include/nanoCLR_Hardware.h
Ellerbach Apr 15, 2026
9cfd3d6
some changes on PR feedback
Ellerbach Apr 15, 2026
7b5b411
more changes
Ellerbach Apr 15, 2026
81bb833
fix linux pipeline
Ellerbach Apr 15, 2026
ed98944
Code style fixes for nanoframework/nf-interpreter PR#3313 (#3318)
nfbot Apr 15, 2026
24c3e54
fixibng build
Ellerbach Apr 15, 2026
44df935
more chqnges
Ellerbach Apr 15, 2026
d3a4964
more changes
Ellerbach Apr 15, 2026
889f720
fixing serial port warning and linux build
Ellerbach Apr 15, 2026
fc99cf3
Code style fixes for nanoframework/nf-interpreter PR#3313 (#3320)
nfbot Apr 15, 2026
77e9b2c
fixing linux build, hopefully for real
Ellerbach Apr 15, 2026
5334e7f
trying to fix the zin dll build
Ellerbach Apr 15, 2026
55b091e
revert Thread.cpp to main - debug print block used uninitialized hr c…
Ellerbach Apr 15, 2026
4bb6fc1
latest small fixes
Ellerbach Apr 15, 2026
194468c
Merge branch 'main' into fix-nanoclr-update
Ellerbach Apr 15, 2026
8e6830f
Code style fixes for nanoframework/nf-interpreter PR#3313 (#3323)
nfbot Apr 15, 2026
9e54c14
adjusting for building everything and packaging everything properly
Ellerbach Apr 15, 2026
8139a5f
fix: guard smoke-run for cross-compiled POSIX legs
Ellerbach Apr 15, 2026
3fdd33e
fix: use macOS-latest runner for osx-x64 cross-compile leg
Ellerbach Apr 15, 2026
374c747
fix: cross-compile linux-arm64 on ubuntu-22.04 x64 runner
Ellerbach Apr 15, 2026
7e204c4
chore: publish nupkg as pipeline artifact for inspection
Ellerbach Apr 15, 2026
bcfc304
fix: use TargetFramework for native lib PackagePath in nupkg
Ellerbach Apr 16, 2026
d9d0096
fix: probe portable RID fallback in NativeNanoClrLoader
Ellerbach Apr 16, 2026
78249c6
fixing encoding
Ellerbach Apr 16, 2026
fb342ec
last fix
Ellerbach Apr 16, 2026
4a43e01
adjusting pal time for linux
Ellerbach Apr 16, 2026
591ca49
attempt to fix linux run issues
Ellerbach Apr 16, 2026
61ec205
debug for linux
Ellerbach Apr 16, 2026
d2f0694
timing fix for linux execution
Ellerbach Apr 17, 2026
82477e0
reverting
Ellerbach Apr 17, 2026
f349f9a
fixing linuxfixing properly linux timing
Ellerbach Apr 17, 2026
db7b19e
fix git mess
Ellerbach Apr 17, 2026
27508fe
fixing posix for real this time, yeah!
Ellerbach Apr 17, 2026
5fcb759
more linux fixes
Ellerbach Apr 17, 2026
efea4e0
more fixes from PR review and cleaning
Ellerbach Apr 17, 2026
94db178
Merge branch 'main' into fix-nanoclr-update
Ellerbach Apr 17, 2026
b1fb84c
Merge branch 'main' into fix-nanoclr-update
Ellerbach Apr 21, 2026
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
82 changes: 82 additions & 0 deletions .github/workflows/posix-nanoclr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: posix-nanoclr

on:
push:
paths:
- "targets/posix/**"
- "src/CLR/**"
- "src/HAL/**"
- "src/PAL/**"
- ".github/workflows/posix-nanoclr.yml"
pull_request:
paths:
- "targets/posix/**"
- "src/CLR/**"
- "src/HAL/**"
- "src/PAL/**"
- ".github/workflows/posix-nanoclr.yml"

jobs:
build-posix-nanoclr:
strategy:
matrix:
include:
- os: macos-14
label: macOS
- os: ubuntu-22.04
label: Linux
fail-fast: false

runs-on: ${{ matrix.os }}
name: Build (${{ matrix.label }})

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Ninja (if missing)
run: |
if ! command -v ninja >/dev/null 2>&1; then
if command -v apt-get >/dev/null 2>&1; then
sudo apt-get install -y ninja-build
else
brew install ninja
fi
fi

- name: Configure
run: |
AGENT_ARCH="$(uname -m)"
# NANO_POSIX_ARCH is only used on macOS to set CMAKE_OSX_ARCHITECTURES.
# On Linux the host toolchain architecture is used automatically.
if [ "${AGENT_ARCH}" = "arm64" ]; then
ARCH_FLAG="-DNANO_POSIX_ARCH=arm64"
else
ARCH_FLAG="-DNANO_POSIX_ARCH=x86_64"
fi
cmake -S targets/posix -B build/posix -G Ninja \
${ARCH_FLAG} \
-DNANO_POSIX_ENABLE_SMOKE=ON

- name: Build
run: cmake --build build/posix --verbose

- name: Smoke Run
run: |
set -euo pipefail
./build/posix/bin/nanoFramework.nanoCLR | tee build/posix/smoke.log
if ! grep -Eq '[0-9]+\.[0-9]+\.[0-9]+' build/posix/smoke.log; then
echo "ERROR: smoke output validation failed."
exit 1
fi
Comment thread
Ellerbach marked this conversation as resolved.

- name: Upload Artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: posix-nanoclr-${{ matrix.label }}
path: |
build/posix/lib/nanoFramework.nanoCLR.*
build/posix/bin/nanoFramework.nanoCLR.test
build/posix/bin/nanoFramework.nanoCLR
build/posix/smoke.log
Loading
Loading