Actions
Some checks failed
Alire installation and checkup / build (ubuntu-20.04) (push) Failing after 44s
Some checks failed
Alire installation and checkup / build (ubuntu-20.04) (push) Failing after 44s
This commit is contained in:
38
.gitea/workflows/test.yaml
Normal file
38
.gitea/workflows/test.yaml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user