@@ -6,17 +6,16 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
# On utilise la version Alpine contenant Node.js 20
|
||||
image: node:20-alpine
|
||||
# On passe sur Arch Linux pour une compatibilité parfaite
|
||||
image: archlinux:latest
|
||||
|
||||
steps:
|
||||
- name: Récupérer le code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Installer GCC et Criterion sur Alpine
|
||||
# La commande apk fonctionne toujours car c'est un système Alpine
|
||||
run: |
|
||||
apk add --no-cache gcc musl-dev criterion
|
||||
- name: Installer GCC et Criterion
|
||||
# Synchronisation et installation sans confirmation
|
||||
run: pacman -Syu --noconfirm gcc criterion
|
||||
|
||||
- name: Compiler les tests
|
||||
run: >
|
||||
Reference in New Issue
Block a user