argumentcomputer / argumentcomputer/ci-workflows
Lint job does not build tests for the Wasm platform (and should)
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 0
- Fork
- 3
- Merge medio
- 59m
- PR unite (30g)
- 2
Descrizione
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*
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions, wasm
- Ambito
- build-system, ci-cd
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100