tra-superscript/.github/workflows/build-cli.yml

25 lines
768 B
YAML
Raw Normal View History

2021-04-25 03:51:01 +00:00
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
2021-08-26 22:26:29 +00:00
name: Build Superscript Linux
2021-04-25 03:51:01 +00:00
on:
release:
2021-08-26 22:26:29 +00:00
types: [published, created, edited]
2021-04-25 03:51:01 +00:00
jobs:
generate:
name: Build Linux
runs-on: ubuntu-latest
steps:
- name: Checkout master
2021-08-26 22:26:29 +00:00
uses: actions/checkout@master
2021-08-26 22:48:48 +00:00
- name: Install Dependencies
run: pip install -r requirements.txt
working-directory: src/
- name: Give Execute Permission
2021-08-26 22:53:21 +00:00
run: chmod +x build-CLI.sh
2021-08-26 22:48:48 +00:00
working-directory: build/
- name: Build Binary
2021-08-26 22:57:15 +00:00
run: ./build-CLI.sh
2021-08-26 22:48:48 +00:00
working-directory: build/