criscv/.forgejo/workflows/build.yml
Minecon724 dbec63aba7
Some checks failed
/ deploy (push) Failing after 46s
fix actions
2024-10-19 13:40:51 +02:00

23 lines
No EOL
867 B
YAML

on: [push]
jobs:
deploy:
runs-on: docker
container: debian:sid-slim
steps:
- run: apt update
- name: Install prerequisites
run: apt install --no-install-recommends -y git
- name: Install toolchain
run: apt install --no-install-recommends -y gcc-x86-64-linux-gnu gcc-aarch64-linux-gnu make
- name: Install dependencies
run: apt install --no-install-recommends -y libelf-dev
- name: Clone repository
run: git clone git@git.m724.eu:Minecon724/crisc.git .
- name: Package for x86_64
run: CC=x86_64-linux-gnu-gcc PROGRAM_NAME=crisc-x86_64 make
- name: Package for aarch64
run: CC=aarch64-linux-gnu-gcc PROGRAM_NAME=crisc-aarch64 make
- name: Upload artifact
uses: https://github.com/actions/upload-artifact@v4
with:
path: build/criscv-*