Commit 9d1dd64d authored by Stefan Lankes's avatar Stefan Lankes
Browse files

create workflow for aarch64

- rename x86 workflow
parent 912fe58a
name: Build aarch64
on:
push:
pull_request:
branches:
- master
schedule:
- cron: '0 0 * * 6'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [nightly]
include:
- os: macOS-latest
rust: 'nightly'
components: 'rust-src, llvm-tools-preview'
targets: 'aarch64-apple-darwin'
- os: ubuntu-latest
rust: 'nightly'
components: 'rust-src, llvm-tools-preview'
targets: 'aarch64-unknown-linux-gnu'
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
components: ${{ matrix.components || '' }}
targets: ${{ matrix.targets || '' }}
- uses: actions/checkout@v1
with:
submodules: true
- name: Check Cargo availability
run: cargo --version
- name: Install qemu/nasm (apt)
run: sudo apt-get update --fix-missing && sudo apt-get install qemu-system-x86 nasm
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install qemu/nasm (macos)
run: |
brew install qemu nasm
if: ${{ matrix.os == 'macOS-latest' }}
- name: Build loader (unix)
run: make arch=aarch64
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment