Guest User

jq github action

a guest
Nov 2nd, 2021
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. name: jq
  2. on: workflow_dispatch
  3.  
  4. jobs:
  5. build:
  6. runs-on: macos-latest
  7. env:
  8. CFLAGS: -Os -no-pie -Wno-deprecated-declarations -Wno-implicit-function-declaration
  9. CXXFLAGS: -Os
  10. LDFLAGS: -all-static
  11. steps:
  12. - run: brew install automake libtool oniguruma
  13. - run: git clone https://github.com/stedolan/jq.git .
  14. - run: git submodule update --init
  15. - run: autoreconf -iv
  16. - run: ./configure --disable-docs --enable-all-static --enable-shared=no --enable-static=yes --with-oniguruma=builtin --disable-dependency-tracking --disable-silent-rules --disable-maintainer-mode --prefix=$(pwd)/build
  17. - run: make install
  18. - uses: actions/upload-artifact@v2
  19. with:
  20. name: jq
  21. path: build/bin/jq
Advertisement
Add Comment
Please, Sign In to add comment