acsm-calibre-plugin/.github/workflows/main.yml

41 lines
795 B
YAML
Raw Normal View History

2021-09-19 20:20:56 +06:00
name: Build binaries
on:
push:
branches: [ master ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2021-09-20 15:24:11 +06:00
- name: Install compilers
run: |
sudo apt update ; sudo apt install -y gcc-mingw-w64-i686 gcc-mingw-w64-x86-64
2021-09-19 20:20:56 +06:00
- name: Compile
run: |
2021-09-20 15:24:11 +06:00
./bundle_calibre_plugin.sh
2021-09-19 20:20:56 +06:00
- name: Upload
uses: actions/upload-artifact@v2
with:
name: linux
path: |
2021-09-20 15:24:11 +06:00
calibre-plugin.zip
2021-12-19 04:53:51 +06:00
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
pip3 install freezegun lxml pycryptodome rsa oscrypto
- name: Run tests
run: |
cd tests && ./main.py