main.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This is a basic workflow to help you get started with Actions
  2. name: CI
  3. # Controls when the action will run. Triggers the workflow on push or pull request
  4. # events but only for the master branch
  5. on:
  6. push:
  7. branches: [ master ]
  8. pull_request:
  9. branches: [ master ]
  10. # A workflow run is made up of one or more jobs that can run sequentially or in parallel
  11. jobs:
  12. # This workflow contains a single job called "build"
  13. build:
  14. # The type of runner that the job will run on
  15. runs-on: ubuntu-latest
  16. # Steps represent a sequence of tasks that will be executed as part of the job
  17. steps:
  18. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  19. - uses: actions/checkout@v2
  20. # Runs a single command using the runners shell
  21. - name: Install dependencies
  22. run: sudo apt install libarchive-dev libxml2-dev
  23. # Runs a set of commands using the runners shell
  24. - name: Install binn
  25. run: |
  26. git clone https://github.com/liteserver/binn
  27. cd binn
  28. make
  29. sudo make install
  30. cd ..
  31. - name: Build
  32. run: make