diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d377eea..8852df4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: build_matrix: name: "build" - needs: [build-yml-check] # [authorize, build-yml-check] + needs: [build-yml-check] runs-on: ubuntu-latest timeout-minutes: 360 strategy: @@ -73,30 +73,7 @@ jobs: uses: cachix/install-nix-action@v24 with: extra_nix_config: | -# trusted-public-keys = ghaf-dev.cachix.org-1:S3M8x3no8LFQPBfHw1jl6nmP8A7cVWKntoMKN3IsEQY= cache.vedenemo.dev:8NhplARANhClUSWJyLVk4WMyy1Wb4rhmWW2u8AejH9E= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= -# substituters = https://ghaf-dev.cachix.org?priority=20 https://cache.vedenemo.dev https://cache.nixos.org system-features = nixos-test benchmark big-parallel kvm -# builders-use-substitutes = true -# builders = @/etc/nix/machines -# - name: Configure remote builder -# run: | -# sudo sh -c "umask 377; echo '${{ secrets.BUILDER_SSH_KEY }}' >/etc/nix/id_builder_key" -# sudo sh -c "echo '${{ vars.BUILDER_SSH_KNOWN_HOST }}' >>/etc/ssh/ssh_known_hosts" -# sudo sh -c "echo '${{ vars.BUILDER_MACHINE_CONFIG }}' >/etc/nix/machines" -# - name: Install cachix -# run: | -# nix-env -iA cachix -f https://cachix.org/api/v1/install -# echo "Using cachix version:" -# cachix --version - name: Build ${{ matrix.arch }}.${{ matrix.target }} run: | - # if [ "${{ secrets.CACHIX_AUTH_TOKEN }}" == "" ]; then - # echo "::error::Missing CACHIX_AUTH_TOKEN, will not build" - # exit 1 - # else - # echo "Running nix build, with cachix watch-exec" - # cachix authtoken ${{ secrets.CACHIX_AUTH_TOKEN }} - # cachix watch-exec ghaf-dev -- \ - # nix build .#packages.${{ matrix.arch }}.${{ matrix.target }} - # fi nix build .#packages.${{ matrix.arch }}.${{ matrix.target }}