ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove unneeded actions now we have hydra (#225)

authored by

marshmallow and committed by
GitHub
ed4546ca ec51635d

-106
-62
.github/workflows/build.yml
··· 1 - --- 2 - name: "Build Packages" 3 - on: 4 - pull_request: 5 - push: 6 - jobs: 7 - pre-job: 8 - continue-on-error: true 9 - runs-on: ubuntu-latest 10 - outputs: 11 - should_skip: ${{ steps.skip_check.outputs.should_skip }} 12 - steps: 13 - - id: skip_check 14 - uses: fkirc/skip-duplicate-actions@v5 15 - with: 16 - concurrent_skipping: "same_content_newer" 17 - cancel_others: "true" 18 - agent: 19 - runs-on: ubuntu-latest 20 - strategy: 21 - matrix: 22 - # https://github.com/nix-systems/default-linux 23 - system: ["x86_64-linux", "aarch64-linux"] 24 - needs: pre-job 25 - permissions: 26 - contents: read 27 - if: needs.pre-job.outputs.should_skip != 'true' 28 - steps: 29 - - uses: actions/checkout@v5 30 - - uses: ./.github/actions/setup-nix 31 - with: 32 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 33 - withQEMU: true 34 - - run: nix build .#packages.${{ matrix.system }}.agent --print-build-logs 35 - wire: 36 - runs-on: ubuntu-latest 37 - needs: agent 38 - permissions: 39 - contents: read 40 - strategy: 41 - matrix: 42 - # https://github.com/nix-systems/default-linux 43 - system: ["x86_64-linux", "aarch64-linux"] 44 - steps: 45 - - uses: actions/checkout@v5 46 - - uses: ./.github/actions/setup-nix 47 - with: 48 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 49 - withQEMU: true 50 - - run: nix build .#packages.${{ matrix.system }}.wire --print-build-logs 51 - docs: 52 - runs-on: ubuntu-latest 53 - needs: pre-job 54 - permissions: 55 - contents: read 56 - if: needs.pre-job.outputs.should_skip != 'true' 57 - steps: 58 - - uses: actions/checkout@v5 59 - - uses: ./.github/actions/setup-nix 60 - with: 61 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 62 - - run: nix build .#docs
-44
.github/workflows/test.yml
··· 46 46 key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 47 47 - name: Nextest 48 48 run: nix develop --print-build-logs -v --command cargo nextest run 49 - find-vm-tests: 50 - runs-on: ubuntu-latest 51 - needs: pre-job 52 - permissions: 53 - contents: read 54 - if: needs.pre-job.outputs.should_skip != 'true' 55 - outputs: 56 - tests: ${{ steps.tests.outputs.tests }} 57 - steps: 58 - - uses: actions/checkout@v5 59 - - name: Cache Tests 60 - id: cache 61 - uses: actions/cache@v4 62 - with: 63 - key: ${{ runner.os }}-tests-${{ hashFiles('tests/nix/default.nix') }} 64 - path: tests.json 65 - - uses: ./.github/actions/setup-nix 66 - with: 67 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 68 - - name: find tests 69 - if: steps.cache.outputs.cache-hit != 'true' 70 - run: | 71 - nix eval --impure --json --expr \ 72 - 'with builtins; filter ((import <nixpkgs>{}).lib.hasPrefix "vm-") (attrNames (getFlake "${{ github.workspace }}").checks.x86_64-linux)' \ 73 - > tests.json 74 - - name: set output 75 - id: tests 76 - run: | 77 - echo "tests=$(cat tests.json)" >> "$GITHUB_OUTPUT" 78 - vm-tests: 79 - runs-on: ubuntu-latest 80 - needs: find-vm-tests 81 - strategy: 82 - matrix: 83 - test: ${{ fromJSON(needs.find-vm-tests.outputs.tests) }} 84 - steps: 85 - - uses: actions/checkout@v5 86 - - uses: ./.github/actions/setup-nix 87 - with: 88 - withQEMU: true 89 - cachixToken: ${{ secrets.CACHIX_AUTH_TOKEN }} 90 - - name: Build 91 - timeout-minutes: 60 92 - run: nix build .#checks.x86_64-linux.${{ matrix.test }} --print-build-logs