Skip to content

Commit 385fa42

Browse files
committed
Fix GitHub Actions CI
1 parent 8d84140 commit 385fa42

1 file changed

Lines changed: 16 additions & 27 deletions

File tree

.github/workflows/test.yml

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: "Test"
33
on:
44
pull_request:
55
push:
6+
7+
env:
8+
ACTIONS_ALLOW_UNSECURE_COMMANDS: True
9+
610
jobs:
711
test:
812
runs-on: "ubuntu-18.04"
@@ -18,50 +22,35 @@ jobs:
1822
python-version: "${{ matrix.python-version }}"
1923
- name: Install homebrew
2024
run: |
21-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
22-
shell: bash
25+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
26+
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
27+
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
28+
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
29+
echo "::add-path::/home/linuxbrew/.linuxbrew/bin"
30+
brew --version
2331
- name: Install siegfried
2432
run: |
2533
brew install richardlehane/digipres/siegfried
26-
shell: bash
2734
- name: Install ClamAV
2835
run: |
29-
sudo apt-get install clamav
30-
shell: bash
36+
sudo apt-get update && sudo apt-get install clamav
37+
sudo systemctl stop clamav-freshclam.service
38+
sudo freshclam
3139
- name: Install tree
3240
run: |
3341
sudo apt-get install tree
34-
shell: bash
3542
- name: Install disktype
3643
run: |
37-
sudo apt-get install disktype
38-
shell: bash
44+
brew install disktype
3945
- name: Install md5deep
4046
run: |
41-
sudo apt-get install -y md5deep
42-
shell: bash
47+
brew install md5deep
4348
- name: Install sleuthkit
4449
run: |
4550
brew install sleuthkit
46-
shell: bash
4751
- name: Install bulk_extractor
4852
run: |
49-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
50-
sudo apt-get update && sudo apt-get install -y \
51-
git \
52-
g++-7 \
53-
libgnome-keyring-dev \
54-
icnsutils \
55-
graphicsmagick \
56-
xz-utils \
57-
libewf-dev \
58-
libssl-dev \
59-
libsqlite3-dev \
60-
libboost-dev \
61-
libicu-dev \
62-
libtool
63-
git clone --recursive https://github.com/tw4l/bulk_extractor && cd bulk_extractor && chmod 755 bootstrap.sh && ./bootstrap.sh && ./configure && make && sudo make install && cd ..
64-
shell: bash
53+
brew install bulk_extractor
6554
- name: Get pip cache dir
6655
id: "pip-cache"
6756
run: |

0 commit comments

Comments
 (0)