Skip to content

Commit

Permalink
github-ci/macos: use brew to install Python 3
Browse files Browse the repository at this point in the history
The default Python on MacOS is Python 2. Suricata-Verify now
depends on Python 3, so install it with Brew.

(cherry picked from commit 7904ef8)
  • Loading branch information
jasonish authored and victorjulien committed Jan 14, 2021
1 parent 4d5e115 commit d92b318
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1150,12 +1150,13 @@ jobs:
nspr \
pcre \
pkg-config \
python \
rust \
xz
- name: Install cbindgen
run: cargo install --force --debug --version 0.14.1 cbindgen
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: pip install PyYAML
- run: pip3 install PyYAML
- uses: actions/checkout@v2
- name: Downloading prep archive
uses: actions/download-artifact@v2
Expand All @@ -1169,7 +1170,7 @@ jobs:
- run: make check
- run: tar xf prep/suricata-verify.tar.gz
- name: Running suricata-verify
run: ./suricata-verify/run.py
run: python3 ./suricata-verify/run.py

windows-msys2-mingw64:
name: Windows MSYS2 MINGW64
Expand Down

0 comments on commit d92b318

Please sign in to comment.