gitea worklow improved
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Install Node.js and git
|
- name: Install Node.js and git
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install nodejs git
|
apt-get -y install nodejs git
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
+9
-5
@@ -1,16 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo apt install libcairo2-dev
|
apt-get -y install libcairo2-dev
|
||||||
sudo apt install python3-scipy python3-lmfit python3-matplotlib python3-tables python3-xdg
|
apt-get -y install python3-scipy python3-lmfit python3-matplotlib python3-tables python3-xdg
|
||||||
sudo apt install gir1.2-gtksource-3.0
|
apt-get -y install gir1.2-gtksource-3.0
|
||||||
DEBRELEASE=$(lsb_release -cs)
|
DEBRELEASE=$(lsb_release -cs)
|
||||||
case $DEBRELEASE in
|
case $DEBRELEASE in
|
||||||
"trixie")
|
"trixie")
|
||||||
echo "Trixie detected"
|
echo "Trixie detected"
|
||||||
sudo apt install libgirepository-2.0-dev
|
apt-get -y install libgirepository-2.0-dev
|
||||||
;;
|
;;
|
||||||
"bookworm")
|
"bookworm")
|
||||||
echo "Bookworm detected"
|
echo "Bookworm detected"
|
||||||
sudo apt install libgirepository1.0-dev
|
apt-get -y install libgirepository1.0-dev
|
||||||
|
;;
|
||||||
|
"bullseye")
|
||||||
|
echo "Bullseye detected"
|
||||||
|
apt-get -y install libgirepository1.0-dev
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "not implemented" ; exit 1
|
echo "not implemented" ; exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user