Files
NixOS-WSL/.github/workflows/run_validate.yml
T
codgician 07121c1c33 ci: add aarch64-linux support for checks, builds, and releases
- Update run_checks.yml to run flake checks on both x86_64-linux and aarch64-linux using matrix strategy
- Update run_build.yml to build tarballs for both architectures using matrix strategy
- Update run_validate.yml to validate both tarballs
- Update run_tests.yml to use the x86_64 tarball artifact
- Update on_release.yml to upload both nixos.wsl and nixos.aarch64.wsl with checksums
- Add aarch64 nixosConfiguration to flake.nix
- Use ubuntu-24.04 for x86 runners and ubuntu-24.04-arm for arm64 runners
2026-02-27 15:26:54 +08:00

40 lines
1.0 KiB
YAML

name: Validate Tarball
on:
workflow_call: {}
jobs:
validate:
name: Validate Tarball (${{ matrix.system }}) 🩺
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- system: x86_64
artifact: tarball-x86_64
filename: nixos.wsl
- system: aarch64
artifact: tarball-aarch64
filename: nixos.aarch64.wsl
steps:
- name: Checkout WSL Repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
repository: microsoft/WSL
ref: 2.6.3
- name: Install dependencies 📦
shell: bash
run: |
pip3 install -r distributions/requirements.txt
- name: Download Tarball 📥
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
with:
name: ${{ matrix.artifact }}
- name: Validate Tarball 🩺
shell: bash
run: |
python3 distributions/validate-modern.py --tar ${{ matrix.filename }}