ccpp-mac.yml 470 B

1234567891011121314151617181920212223
  1. name: C/C++ mac
  2. on:
  3. push:
  4. branches:
  5. - master
  6. jobs:
  7. build:
  8. runs-on: macos-latest
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: install
  12. run: brew install bison flex cmake; cmake --version
  13. - name: git
  14. run: git submodule update --init --recursive
  15. - name: configure
  16. run: mkdir build;cd build;cmake .. -DTARS_MYSQL=ON -DTARS_SSL=ON -DTARS_HTTP2=ON -DTARS_PROTOBUF=ON
  17. - name: make
  18. run: cd build; make -j4