github action, don't try apt or python on macos

This commit is contained in:
Matt Johnston 2021-10-18 23:31:23 +08:00
parent 30adc15860
commit 17e0c7e76f

View File

@ -34,12 +34,16 @@ jobs:
cc: clang cc: clang
# OS X says daemon() and utmp are deprecated # OS X says daemon() and utmp are deprecated
wextraflags: -Wno-deprecated-declarations -Werror wextraflags: -Wno-deprecated-declarations -Werror
skipcheck: True
exoticos: True
- name: macos 11 - name: macos 11
os: macos-11 os: macos-11
cc: clang cc: clang
# OS X says daemon() and utmp are deprecated # OS X says daemon() and utmp are deprecated
wextraflags: -Wno-deprecated-declarations -Werror wextraflags: -Wno-deprecated-declarations -Werror
skipcheck: True
exoticos: True
# Fuzzers run standalone. A bit superfluous with cifuzz, but # Fuzzers run standalone. A bit superfluous with cifuzz, but
# good to run the whole corpus to keep it working. # good to run the whole corpus to keep it working.
@ -71,6 +75,7 @@ jobs:
steps: steps:
- name: deps - name: deps
if: ${{ !exoticos }}
run: | run: |
sudo apt-get -y update sudo apt-get -y update
sudo apt-get -y install zlib1g-dev libtomcrypt-dev libtommath-dev mercurial python3-venv socat $CC sudo apt-get -y install zlib1g-dev libtomcrypt-dev libtommath-dev mercurial python3-venv socat $CC