argumentcomputer / argumentcomputer/ci-workflows

Lint job does not build tests for the Wasm platform (and should)

Offen
#10 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
0
Forks
3
Ø Merge
59 Min.
Gemergte PRs (30 T.)
2

Beschreibung

https://github.com/lurk-lab/ci-workflows/blob/0fbbf18385feb7422756dcf7c7a002d3a732bd5d/.github/workflows/lints.yml#L17-L19

This should build tests (and ideally examples / benches as well) to ensure full compatibility.

If we want to *run* tests on wasm, we'd have to install a wasm runtime (and indicate it in the .cargo/config of the runner:
```toml
[target.wasm32-unknown-unknown]
runner = 'my-favorite-runner'
```
but let's at least check the tests *compile*

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with .github/workflows/lints.yml at lines 17-19 and inspect how the lint job builds the Wasm target. Update the workflow so tests are compiled for wasm32-unknown-unknown, and consider the issue's requested examples and benches if the existing job structure supports them. Done means the workflow checks compilation without requiring a Wasm runtime.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, wasm
Bereich
build-system, ci-cd
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.