Merge pull request #36 from DeterminateSystems/grahamc-patch-1
Build on ARM64-Linux
This commit is contained in:
commit
55f6a7e607
23
.github/workflows/build.yaml
vendored
23
.github/workflows/build.yaml
vendored
|
@ -71,3 +71,26 @@ jobs:
|
||||||
name: magic-nix-cache-X64-Linux
|
name: magic-nix-cache-X64-Linux
|
||||||
path: result/bin/magic-nix-cache
|
path: result/bin/magic-nix-cache
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
build-artifacts-ARM64-Linux:
|
||||||
|
concurrency: build-ARM64-Linux
|
||||||
|
runs-on: namespace-profile-default-arm64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# - uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
||||||
|
# - uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
|
||||||
|
- name: Build package
|
||||||
|
run: "nix build .# -L --fallback"
|
||||||
|
|
||||||
|
- name: Upload a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v3.1.2
|
||||||
|
with:
|
||||||
|
# Artifact name
|
||||||
|
name: magic-nix-cache-ARM64-Linux
|
||||||
|
path: result/bin/magic-nix-cache
|
||||||
|
retention-days: 1
|
||||||
|
|
7
.github/workflows/release-branches.yml
vendored
7
.github/workflows/release-branches.yml
vendored
|
@ -52,6 +52,13 @@ jobs:
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: magic-nix-cache-ARM64-Linux
|
||||||
|
path: cache-binary-ARM64-Linux
|
||||||
|
- name: Persist the cache binary
|
||||||
|
run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux
|
||||||
|
|
||||||
- name: Publish Release (Branch)
|
- name: Publish Release (Branch)
|
||||||
env:
|
env:
|
||||||
AWS_BUCKET: ${{ secrets.AWS_S3_UPLOAD_BUCKET }}
|
AWS_BUCKET: ${{ secrets.AWS_S3_UPLOAD_BUCKET }}
|
||||||
|
|
7
.github/workflows/release-prs.yml
vendored
7
.github/workflows/release-prs.yml
vendored
|
@ -56,6 +56,13 @@ jobs:
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: magic-nix-cache-ARM64-Linux
|
||||||
|
path: cache-binary-ARM64-Linux
|
||||||
|
- name: Persist the cache binary
|
||||||
|
run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux
|
||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v2
|
uses: aws-actions/configure-aws-credentials@v2
|
||||||
with:
|
with:
|
||||||
|
|
7
.github/workflows/release-tags.yml
vendored
7
.github/workflows/release-tags.yml
vendored
|
@ -45,6 +45,13 @@ jobs:
|
||||||
- name: Persist the cache binary
|
- name: Persist the cache binary
|
||||||
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: magic-nix-cache-ARM64-Linux
|
||||||
|
path: cache-binary-ARM64-Linux
|
||||||
|
- name: Persist the cache binary
|
||||||
|
run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux
|
||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v2
|
uses: aws-actions/configure-aws-credentials@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue