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