Commit graph

34 commits

Author SHA1 Message Date
44fc8516a4 Injecter le groupe KVM 2026-08-26 06:41:57 +01:00
60748064ff ne rien forcer 2026-08-26 06:39:22 +01:00
199ee0a956 Forcer l'appropriation et les droits KVM 2026-08-26 06:27:04 +01:00
f22a5206bd Diagnostic système absolu du Runner 2026-08-26 06:23:22 +01:00
88fbdb9c14 cleanup 2026-08-26 06:19:42 +01:00
35ddb3f748 pour test 2026-08-26 06:09:16 +01:00
aefabf63fb pour test 2026-08-26 06:07:50 +01:00
a8898d13e9 for reading 2026-08-26 05:44:46 +01:00
637e942bd1 no kvm 2026-08-26 05:38:07 +01:00
c4f8ece4fa donne l'accès 2026-08-26 05:25:18 +01:00
0a627fb3c3 avd name changed 2026-08-26 05:15:13 +01:00
e29def6dc8 specify the docker image 2026-08-26 05:09:24 +01:00
6f3b1cfb3c emulator 2026-08-26 04:52:57 +01:00
becfad8fe1 yatry 2026-08-26 03:55:21 +01:00
3fe93c92ed hit the AVD 2026-08-26 02:24:03 +01:00
57270c92c8 to be clear 2026-08-26 01:49:57 +01:00
2631aaead2 simpler is better 2026-08-26 01:42:59 +01:00
fce2d6eff8 comment cleanup 2026-08-26 01:24:19 +01:00
4d08f3d082 postit_test_avd 2026-08-26 00:20:17 +01:00
a2bd93cb4c should work, Xamarin.UITest installs the app 2026-08-25 23:39:12 +01:00
49dbfe42e3 reinstall when yet installed 2026-08-25 23:17:17 +01:00
2687ebde3c fixes the step title 2026-08-25 23:07:19 +01:00
071ec31673 fixes the script 2026-08-25 23:06:25 +01:00
04607aeaab fixes the tests 2026-08-25 23:01:00 +01:00
218d9ef6a8 build and test release/* 2026-08-18 21:25:06 +01:00
924ccccca4 cleanup 2026-08-18 21:14:52 +01:00
19d5ff2ecb ci: unshallow clone for GitVersion
GitVersion.MsBuild fails on shallow clones ('Repository is a shallow
clone. Git repositories must contain the full history.') because it
walks the git log to compute the SemVer version.

Drop --depth 1 from both the PR ref fetch and the submodule update
so the runner's working tree has full history. The repo is small
enough that the cost is negligible.
2026-08-16 13:39:53 +01:00
8bfa947148 ci: drop working-directory, cd into /src/_src explicitly
forgejo-runner v13 does not interpolate ${{ runner.workspace }}
in working-directory: (or ignores the field entirely for docker
containers), so the container tried to chdir to '/_src' (literally)
which does not exist.

The image WORKDIR is /src, so clone directly into /src/_src and cd
into it at the start of each step. Adds an echo of the checkout
SHA + branch state for visibility in the log.
2026-08-16 13:27:36 +01:00
b168232c5b ci: clone via GITHUB_REF instead of GITHUB_REF_NAME
In pull_request context, GITHUB_REF_NAME is the PR number ('17'),
not the source branch. Cloning --branch 17 fails with
'Could not find remote branch 17 to clone'.

Use GITHUB_REF (refs/pull/N/head in PR context, refs/heads/<branch>
in push context) and fetch + checkout FETCH_HEAD. workflow_dispatch
falls back to the default branch.
2026-08-16 13:22:56 +01:00
00ece4f21f ci: replace actions/checkout with manual git clone (image has no node)
The pazof/yavsc-build-env:debian12-dotnet10-android36-v1 image only
ships .NET 10 SDK + Android SDK + JDK 17, no Node. actions/checkout@v6
requires Node, so the job failed with 'exec: node not found'.

Replace actions/checkout with a direct git clone over HTTPS (Forgejo
anonymous is enabled), and init submodules recursively.

Also drop the bogus docker://image:tag runs-on: matcher, use just 'docker'
to match the runner's declared label name.
2026-08-16 13:15:10 +01:00
f0f921b9de run on docker 2026-08-16 13:03:17 +01:00
00c463a48e forgejo/ci: run build in pazof/yavsc-build-env container
Le workflow buildAndTest tournait sur un runner nu debian-latest avec
setup-dotnet@v5 pour la SDK 10.0.x. Restore échouait car cet
environnement n'a ni la source NuGet interne (isn.pschneider.fr) ni
les workloads Android configurés, contrairement à l'image
pazof/yavsc-build-env utilisée par le Dockerfile.

Bascule le job sur un runner labelisé docker avec l'image
debian12-dotnet10-android36-v1 directement. Le step setup-dotnet
devient inutile (l'image a déjà la SDK 10.0), le restore partage
la même config que le Dockerfile.

Refs l'image cible par ARG BUILD_ENV_TAG=debian12-dotnet10-android36-v1.
2026-08-15 22:18:03 +01:00
bdaeecc7b8 forgejo/ci: pin dotnet sdk 10.0.x for buildAndTest
Le repo cible net10.0 partout (csproj, TFM), mais le workflow CI
Forgejo buildAndTest installait une SDK 9.0.x. Aligne sur 10.0.x
pour que la CI build avec une SDK qui connaît le TFM net10.0.

Pas de global.json ajouté : la SDK est résolue à l'installation
de l'image runner, le repo reste agnostique de la version exacte.
2026-08-15 22:00:36 +01:00
Paul Schneider
a68287d847 Dockerfile & actions 2026-02-02 00:39:24 +00:00