From: Jason Ish Date: Fri, 8 Jan 2021 15:39:19 +0000 (-0600) Subject: github-ci/macos: use brew to install Python 3 X-Git-Tag: suricata-6.0.2~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92b3184f0a87337492fb3d5d202eb05cceeb8b9;p=thirdparty%2Fsuricata.git github-ci/macos: use brew to install Python 3 The default Python on MacOS is Python 2. Suricata-Verify now depends on Python 3, so install it with Brew. (cherry picked from commit 7904ef82d0b2478694025ca0d9043f2ae98be73a) --- diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 0155c81811..c06961dbd0 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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 @@ -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