apt-get update before install in the syslibs job ##ci

This commit is contained in:
pancake 2023-05-16 16:56:56 +02:00
parent 690ece1508
commit 78d8894a9e
3 changed files with 12 additions and 5 deletions

View File

@ -41,7 +41,7 @@ jobs:
uses: actions/checkout@v3
- name: Installing the musl runtime
run: |
sudo apt-get --assume-yes update
sudo apt update --assume-yes
sudo apt install --assume-yes musl-tools
- name: Building static r2 with acr
run: |
@ -92,7 +92,7 @@ jobs:
uses: actions/checkout@v3
- name: Installing crosscompiler
run: |
sudo apt-get --assume-yes update
sudo apt update --assume-yes
sudo apt install --assume-yes gcc-aarch64-linux-gnu
- name: Packaging for Debian
run: |
@ -110,7 +110,7 @@ jobs:
uses: actions/checkout@v3
- name: Packaging for 32bit Debian
run: |
sudo apt --assume-yes update
sudo apt update --assume-yes
sudo apt install -y gcc-multilib gperf
export CFLAGS="-m32 -Werror"
export LDFLAGS=-m32
@ -565,7 +565,6 @@ jobs:
steps:
- name: Install dependencies
run: |
sudo apt-get --assume-yes update
# sudo apt install --assume-yes abigail-tools wget
# ubuntu-latest is TOO OLD and it ships abigail 2.0 which is known to be buggy
wget https://ftp.fau.de/debian/pool/main/liba/libabigail/libabigail0_2.2-2_amd64.deb

View File

@ -64,6 +64,7 @@ jobs:
env:
CFLAGS: -O0
run: |
sudo apt update
sudo apt install -y libmagic-dev
git clean -xdf ; rm -rf shlr/capstone
cp -f dist/plugins-cfg/plugins.nocs.cfg plugins.cfg
@ -95,7 +96,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install meson ninja r2pipe wget
sudo apt install gperf
sudo apt update --assume-yes
sudo apt install --assume-yes gperf
- name: Installing with symlinks
run: |
export CFLAGS="-O0 -Werror -Wno-unused-result -Wno-stringop-truncation"
@ -116,6 +118,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install meson ninja r2pipe wget
sudo apt update --assume-yes
sudo apt install gperf
- name: Installing with symlinks
run: |
@ -181,6 +184,7 @@ jobs:
uses: actions/checkout@v3
- name: Installing the musl runtime
run: |
sudo apt update --assume-yes
sudo apt install musl-tools
sudo apt-get --assume-yes install python3-wheel python3-setuptools cabextract gperf
sudo pip3 install meson ninja

View File

@ -31,6 +31,7 @@ jobs:
path: test/bins
- name: Install dependencies
run: |
sudo apt update --assume-yes
sudo apt-get --assume-yes install gperf wheel setuptools || true
sudo python -m pip install --upgrade pip
pip install r2pipe
@ -59,6 +60,7 @@ jobs:
git clone https://github.com/mirror/tinycc.git
cd tinycc && git checkout mob
git reset --hard 560526a49dfffef118bcb7fba83c727639ec0a1d
sudo apt update --assume-yes
sudo apt-get --assume-yes install gperf wheel setuptools || true
sudo python -m pip install --upgrade pip
pip install r2pipe
@ -141,6 +143,7 @@ jobs:
git clone https://github.com/mirror/tinycc.git
cd tinycc && git checkout mob
git reset --hard 560526a49dfffef118bcb7fba83c727639ec0a1d
sudo apt-get update --assume-yes
sudo apt-get --assume-yes install gperf wheel setuptools || true
sudo python -m pip install --upgrade pip
pip install r2pipe
@ -159,6 +162,7 @@ jobs:
env:
CC: tcc
run: |
sudo apt-get update --assume-yes
sudo apt-get --assume-yes install libxxhash-dev liblz4-dev libzip-dev libmagic-dev libcapstone-dev
cp -f dist/plugins-cfg/plugins.cs4.cfg plugins.cfg
./configure --prefix=/usr --with-compiler=tcc \