Skip to content

Ci azure to gh - #399

Open
IonutMuthi wants to merge 7 commits into
mainfrom
ci_azure_to_gh
Open

Ci azure to gh#399
IonutMuthi wants to merge 7 commits into
mainfrom
ci_azure_to_gh

Conversation

@IonutMuthi

Copy link
Copy Markdown
Contributor

Port Azure macOS and Windows builds to GitHub Actions
Extend build_macos to a dual-arch matrix (macos-13 x64 + macos-14
arm64), building per-version Python wheels (3.9-3.14) and uploading
them to testPyPI on v* tags. Bump its actions to checkout@v6 /
setup-python@v7 / upload-artifact@v7 and set ARTIFACTNAME for the
packaging scripts.

Add a native build_windows job on windows-2022 that reuses the
existing CI/windows/*.ps1 scripts unchanged by supplying the Azure
environment variables they expect. It builds libm2k once, produces
wheels for 3.9-3.14, and uploads the system-setup installer .exe and
the win64 folder tree as artifacts (no PyPI upload, matching Azure).

The shared CI/ scripts are reused as-is; the entire port lives in the
workflow YAML.

Add a push trigger for v* tags to build.yaml so the macOS wheel
upload to testPyPI can fire on version tags, matching the Azure
pipeline's release behavior.

Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
Extend build_macos to a dual-arch matrix (macos-13 x64 + macos-14
arm64), building per-version Python wheels (3.9-3.14) and uploading
them to testPyPI on v* tags. Bump its actions to checkout@v6 /
setup-python@v7 / upload-artifact@v7 and set ARTIFACTNAME for the
packaging scripts.

Add a native build_windows job on windows-2022 that reuses the
existing CI/windows/*.ps1 scripts unchanged by supplying the Azure
environment variables they expect. It builds libm2k once, produces
wheels for 3.9-3.14, and uploads the system-setup installer .exe and
the win64 folder tree as artifacts (no PyPI upload, matching Azure).

The shared CI/ scripts are reused as-is; the entire port lives in the
workflow YAML.


Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
The runner context is not available in a job-level env: block, so
${{ runner.temp }} there made GitHub reject build.yaml at parse time
(every run was a startup failure with zero jobs). Use
${{ github.workspace }} instead, which is valid at job-env scope, and
apply it consistently to the two artifact upload paths.


Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
libm2k.iss.cmakein hard-codes the Azure DevOps directory layout
(sources at D:\a\1\s, build root at D:\a\1). On GitHub Actions the
source dir is D:\a\libm2k\libm2k, so Inno Setup aborted reading the
LicenseFile "D:\a\1\s\LICENSE" and every Source: path was wrong too.

Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
Signed-off-by: IonutMuthi <Ionut.Muthi@analog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant