From 9af90be28be8924a50acf6e0ad20d9a58f3b9e8c Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sat, 29 Apr 2023 11:08:21 -0600 Subject: [PATCH] Try to allow cross build --- .gitea/workflows/check-flake.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/check-flake.yaml b/.gitea/workflows/check-flake.yaml index 3a97ca3..c633946 100644 --- a/.gitea/workflows/check-flake.yaml +++ b/.gitea/workflows/check-flake.yaml @@ -14,15 +14,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Install basic dependencies - run: apt-get update && apt-get install -y --no-install-recommends sudo curl ca-certificates xz-utils + run: apt-get update && apt-get install -y --no-install-recommends sudo curl ca-certificates xz-utils qemu-system-x86_64 qemu-efi binfmt-support qemu-user-static - name: Install Nix uses: https://github.com/cachix/install-nix-action@v20 with: github_access_token: ${{ secrets.__GITHUB_TOKEN }} extra_nix_config: | - system-features = nixos-test benchmark big-parallel kvm - extra-platforms = x86_64-linux + system-features = x86_64-linux aarch64-linux arm-linux nixos-test benchmark big-parallel kvm + extra-platforms = x86_64-linux aarch64-linux + system = aarch64-linux + sandbox = false - name: Checkout the repository uses: actions/checkout@v3