replaced apt usage with apt-get
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 5m2s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m41s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m36s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m33s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m0s
Some checks failed
Codacy Scan / Codacy Security Scan (push) Failing after 5m2s
Build WHY2-chat / test-why2 (./out/why2-chat-client, configure.sh, ubuntu-latest, ./out/why2-chat-server) (push) Failing after 1m41s
Test WHY2-core / test-why2 (why2, configure.sh, ubuntu-latest, ./out/why2-core-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m36s
Test WHY2-logger / test-why2 (why2-logger, configure.sh, ubuntu-latest, ./out/why2-logger-test, valgrind --leak-check=full --show-leak-kinds=reachable --track-origins=yes -s) (push) Failing after 1m33s
Test Project / test-project (configure.sh, ubuntu-latest, test) (push) Failing after 1m0s
No money, no girls, denied Can you fuckin’ believe it? Oh, oh, oh, oh, oh
This commit is contained in:
parent
ee6840ecfb
commit
360d581084
6
.github/workflows/why2-chat-build.yml
vendored
6
.github/workflows/why2-chat-build.yml
vendored
@ -45,8 +45,8 @@ jobs:
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
name: Update packages
|
||||
run: |
|
||||
sudo apt update
|
||||
# sudo apt upgrade
|
||||
sudo apt-get update
|
||||
# sudo apt-get upgrade
|
||||
|
||||
- name: Permissions
|
||||
run: chmod +x ${{ matrix.configure }}
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
- name: Preparation
|
||||
run: sudo ./${{ matrix.configure }}
|
||||
|
||||
- name: Set up Rust
|
||||
- name: Set up Rust # Normally works with configure.sh, but gitea has some beef with cargo idk
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install WHY2
|
||||
|
8
.github/workflows/why2-core-test.yml
vendored
8
.github/workflows/why2-core-test.yml
vendored
@ -46,8 +46,8 @@ jobs:
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
name: Update packages
|
||||
run: |
|
||||
sudo apt update
|
||||
# sudo apt upgrade
|
||||
sudo apt-get update
|
||||
# sudo apt-get upgrade
|
||||
|
||||
- name: Permissions
|
||||
run: chmod +x ${{ matrix.configure }}
|
||||
@ -56,9 +56,9 @@ jobs:
|
||||
run: sudo ./${{ matrix.configure }}
|
||||
|
||||
- name: Install Valgrind
|
||||
run: DEBIAN_FRONTEND=noninteractive sudo apt install valgrind
|
||||
run: sudo apt-get install valgrind -y
|
||||
|
||||
- name: Set up Rust
|
||||
- name: Set up Rust # Normally works with configure.sh, but gitea has some beef with cargo idk
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install WHY2
|
||||
|
8
.github/workflows/why2-logger-test.yml
vendored
8
.github/workflows/why2-logger-test.yml
vendored
@ -46,8 +46,8 @@ jobs:
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
name: Update packages
|
||||
run: |
|
||||
sudo apt update
|
||||
# sudo apt upgrade
|
||||
sudo apt-get update
|
||||
# sudo apt-get upgrade
|
||||
|
||||
- name: Permissions
|
||||
run: chmod +x ${{ matrix.configure }}
|
||||
@ -56,9 +56,9 @@ jobs:
|
||||
run: sudo ./${{ matrix.configure }}
|
||||
|
||||
- name: Install Valgrind
|
||||
run: DEBIAN_FRONTEND=noninteractive sudo apt install valgrind
|
||||
run: sudo apt-get install valgrind -y
|
||||
|
||||
- name: Set up Rust
|
||||
- name: Set up Rust # Normally works with configure.sh, but gitea has some beef with cargo idk
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install WHY2
|
||||
|
6
.github/workflows/why2-project.yml
vendored
6
.github/workflows/why2-project.yml
vendored
@ -42,8 +42,8 @@ jobs:
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
name: Update packages
|
||||
run: |
|
||||
sudo apt update
|
||||
# sudo apt upgrade
|
||||
sudo apt-get update
|
||||
# sudo apt-get upgrade
|
||||
|
||||
- name: Permissions
|
||||
run: |
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
- name: Preparation
|
||||
run: sudo ./${{ matrix.configure }}
|
||||
|
||||
- name: Set up Rust
|
||||
- name: Set up Rust # Normally works with configure.sh, but gitea has some beef with cargo idk
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Install WHY2
|
||||
|
@ -27,8 +27,8 @@ why2-chat-build:
|
||||
stage: build
|
||||
image: rust:latest # Fixes cargo installation problems in ./configure.sh
|
||||
script:
|
||||
- apt update # Update repos
|
||||
- apt install sudo lsb-release -y # Install needed stuff
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
@ -42,8 +42,8 @@ why2-core-test:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt update # Update repos
|
||||
- apt install sudo lsb-release valgrind -y # Install needed stuff
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release valgrind -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
@ -56,8 +56,8 @@ why2-logger-test:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt update # Update repos
|
||||
- apt install sudo lsb-release valgrind -y # Install needed stuff
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release valgrind -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
@ -70,8 +70,8 @@ why2-project:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt update # Update repos
|
||||
- apt install sudo lsb-release -y # Install needed stuff
|
||||
- apt-get update # Update repos
|
||||
- apt-get install sudo lsb-release -y # Install needed stuff
|
||||
- chmod +x configure.sh # Permissions
|
||||
- sudo ./configure.sh # Preparation
|
||||
- make install BYPASS_CHECK=true # Install WHY2
|
||||
|
@ -31,7 +31,7 @@ ARCH_GENTOO_COMMON="$COMMON json-c libgit2 gmp openssl"
|
||||
if [[ $DISTRO == "Arch" ]]; then
|
||||
COMMAND="pacman -S --needed --noconfirm $ARCH_GENTOO_COMMON"
|
||||
elif [[ $DISTRO == "Ubuntu" ]] || [[ $DISTRO == "Debian" ]]; then
|
||||
COMMAND="apt install -y $COMMON libjson-c-dev libcurl4-nss-dev libgit2-dev libgmp-dev libssl-dev"
|
||||
COMMAND="apt-get install -y $COMMON libjson-c-dev libcurl4-nss-dev libgit2-dev libgmp-dev libssl-dev"
|
||||
elif [[ $DISTRO == "Gentoo" ]]; then
|
||||
COMMAND="emerge -vn $ARCH_GENTOO_COMMON"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user