Skip to content
Snippets Groups Projects
Commit 6cdc8bfb authored by Ethan Robert's avatar Ethan Robert
Browse files

Added requirements to .gitlab-ci

parent f30387bd
Branches
No related tags found
No related merge requests found
Pipeline #60091 failed
...@@ -8,6 +8,8 @@ stages: ...@@ -8,6 +8,8 @@ stages:
install: install:
stage: install stage: install
before_script:
- apt-get update && apt-get install -y wget sudo unzip
script: script:
- chmod +x install-unix.sh - chmod +x install-unix.sh
- ./install-unix.sh - ./install-unix.sh
......
...@@ -11,13 +11,13 @@ if [[ "$OSTYPE" == "darwin"* ]]; then ...@@ -11,13 +11,13 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
elif [[ -f /etc/debian_version ]]; then elif [[ -f /etc/debian_version ]]; then
# Debian/Ubuntu # Debian/Ubuntu
sudo apt update sudo apt update
sudo apt install -y graphviz wget unzip sudo apt install -y graphviz wget unzip sudo
elif [[ -f /etc/arch-release ]]; then elif [[ -f /etc/arch-release ]]; then
# Arch # Arch
sudo pacman -Syu --noconfirm graphviz wget unzip sudo pacman -Syu --noconfirm graphviz wget unzip sudo
elif [[ -f /etc/fedora-release ]]; then elif [[ -f /etc/fedora-release ]]; then
# Fedora # Fedora
sudo dnf install -y graphviz wget unzip sudo dnf install -y graphviz wget unzip sudo
else else
echo "Unsupported OS" echo "Unsupported OS"
exit 1 exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment