Skip to content

Commit d7383a5

Browse files
committed
feat: compat code for non x86_64-linux
- do not build packages, which require `x86_64-linux` - use Phala `dcap-qvl` crate for remote attestation, if possible - nix: exclude `nixsgx` on non `x86_64-linux` platforms Signed-off-by: Harald Hoyer <[email protected]>
1 parent ed808ef commit d7383a5

File tree

41 files changed

+1482
-506
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1482
-506
lines changed

.github/workflows/nix-non-x86.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: nix-non-x86
2+
3+
permissions:
4+
contents: read
5+
pull-requests: read
6+
7+
on:
8+
pull_request:
9+
branches: ["main"]
10+
push:
11+
branches: ["main"]
12+
tags: ["*"]
13+
14+
jobs:
15+
macos-latest:
16+
runs-on: macos-latest
17+
steps:
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19+
- uses: cachix/install-nix-action@v30
20+
with:
21+
extra_nix_config: |
22+
access-tokens = github.com=${{ github.token }}
23+
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= tee-pot:SS6HcrpG87S1M6HZGPsfo7d1xJccCGev7/tXc5+I4jg=
24+
substituters = https://cache.nixos.org/ https://attic.teepot.org/tee-pot
25+
sandbox = true
26+
- name: Setup Attic cache
27+
uses: ryanccn/attic-action@v0
28+
with:
29+
endpoint: https://attic.teepot.org/
30+
cache: tee-pot
31+
token: ${{ secrets.ATTIC_TOKEN }}
32+
33+
- name: nixci
34+
run: nix run nixpkgs#nixci -- build
35+

0 commit comments

Comments
 (0)