Actions
Alire installation and checkup / build (ubuntu-20.04) (push) Failing after 44s Details

This commit is contained in:
Yannick Reiß 2024-12-17 07:35:58 +01:00
parent d5f6569ff5
commit 1011dfdc57
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
name: Alire installation and checkup
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-20.04]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Update system
run: |
apt-get update -qy
- name: Install dependencies
run: |
apt-get install -y wget gprbuild gnat git curl unzip
- name: setup alire
run: |
if [ "$(uname -m)" == "x86_64" ]; then
wget -O alr.zip https://github.com/alire-project/alire/releases/download/v2.0.2/alr-2.0.2-bin-x86_64-linux.zip
unzip alr.zip
else
wget -O alr https://git.nickr.eu/yannickreiss/alire/raw/branch/main/aarch64/alr
mv alr /bin/alr
fi
chmod +x /bin/alr
- name: build project
run: |
/bin/alr -n build