mirror of
https://github.com/sstent/NixOS_ARM_SDImages.git
synced 2026-01-26 23:22:04 +00:00
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
on: [push, pull_request,workflow_dispatch]
|
|
|
|
jobs:
|
|
armv7_job:
|
|
# The host should always be Linux
|
|
runs-on: ubuntu-22.04
|
|
name: Build on ubuntu-18.04 armv7
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: uraimo/run-on-arch-action@v2
|
|
name: Run commands
|
|
id: runcmd
|
|
with:
|
|
arch: aarch64
|
|
distro: ubuntu22.04
|
|
|
|
# Not required, but speeds up builds by storing container images in
|
|
# a GitHub package registry.
|
|
githubToken: ${{ github.token }}
|
|
|
|
# Set an output parameter `uname` for use in subsequent steps
|
|
run: |
|
|
uname -a
|
|
|
|
#apt-get update
|
|
#apt install -y docker.io
|
|
#docker ps
|
|
#docker run nixos/nix ls -la
|
|
echo ::set-output name=uname::$(uname -a)
|
|
echo ::set-output name=ls::$(ls -la)
|
|
|
|
- name: Get the output
|
|
# Echo the `uname` output parameter from the `runcmd` step
|
|
run: |
|
|
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"
|
|
#apt-get update
|
|
#apt install -y docker.io
|
|
#docker ps
|
|
#docker run nixos/nix ls -la
|
|
ls -la
|