Skip to content

Commit

Permalink
Update build-mimir.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gotlougit authored Jul 25, 2023
1 parent 577e046 commit 8966937
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-mimir.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Just a sample workflow if using debian packages for binfmt
name: nix-build-on-demand-debian
name: build-mimir
on:
workflow_dispatch:
inputs:
Expand All @@ -24,19 +23,16 @@ jobs:
run: cat /etc/nix/nix.conf
- name: Enable flake support
run: mkdir -p ~/.config/nix && echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- uses: myci-actions/add-deb-repo@11
with:
repo: deb http://http.us.debian.org/debian sid main non-free contrib
repo-name: debian-sid
keys: 04EE7237B7D453EC
- name: Install QEMU
- run: |
sudo apt -y install qemu-user-static
- name: Test binfmt availability
run: |
cat /proc/sys/fs/binfmt_misc/qemu-aarch64
/usr/bin/qemu-aarch64-static --version
- name: Build SD Image
run: nix build .#images.mimir
run: |
nix build .#images.mimir
- uses: actions/upload-artifact@v3
with:
name: sd-image.img
Expand Down

0 comments on commit 8966937

Please sign in to comment.