mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
remove the extra workflows that are no longer required
This commit is contained in:
parent
2e7669daf4
commit
eb46beb998
4 changed files with 0 additions and 115 deletions
40
anki-qt/.github/workflows/checks.yml
vendored
40
anki-qt/.github/workflows/checks.yml
vendored
|
@ -1,40 +0,0 @@
|
|||
name: Checks
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.6'
|
||||
- name: Set up protoc
|
||||
uses: Arduino/actions/setup-protoc@master
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
- name: Run checks
|
||||
run: |
|
||||
# add requirements
|
||||
sudo apt install portaudio19-dev
|
||||
python3.6 -m venv ~/pyenv
|
||||
. ~/pyenv/bin/activate
|
||||
pip install --upgrade pip setuptools
|
||||
pip install -r requirements.qt
|
||||
cd ..
|
||||
for p in proto lib-rust lib-rspy lib-python; do git clone --depth 1 https://github.com/ankitects/anki-$p.git; done
|
||||
(cd anki-lib-rspy && make develop build BUILDFLAGS="")
|
||||
(cd anki-lib-python && make develop build)
|
||||
# check module
|
||||
cd anki-qt
|
||||
make check build
|
||||
# make sure wheel works
|
||||
deactivate
|
||||
cd ..
|
||||
pip install -r anki-qt/requirements.qt
|
||||
pip install build/*.whl
|
||||
python -c 'import aqt'
|
32
lib-python/.github/workflows/checks.yml
vendored
32
lib-python/.github/workflows/checks.yml
vendored
|
@ -1,32 +0,0 @@
|
|||
name: Checks
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.6'
|
||||
- name: Set up protoc
|
||||
uses: Arduino/actions/setup-protoc@master
|
||||
- name: Run checks
|
||||
run: |
|
||||
# add requirements
|
||||
python3.6 -m venv ~/pyenv
|
||||
. ~/pyenv/bin/activate
|
||||
pip install --upgrade pip setuptools
|
||||
cd ..
|
||||
for p in proto lib-rust lib-rspy; do git clone --depth 1 https://github.com/ankitects/anki-$p.git; done
|
||||
(cd anki-lib-rspy && make develop build BUILDFLAGS="")
|
||||
# check module
|
||||
cd anki-lib-python
|
||||
make check build
|
||||
# make sure wheel works
|
||||
deactivate
|
||||
cd ..
|
||||
pip install build/*.whl
|
||||
python -c 'import anki'
|
24
lib-rspy/.github/workflows/checks.yml
vendored
24
lib-rspy/.github/workflows/checks.yml
vendored
|
@ -1,24 +0,0 @@
|
|||
name: Checks
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
max-parallel: 4
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Set up protoc
|
||||
uses: Arduino/actions/setup-protoc@master
|
||||
- name: Set up python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: '3.6'
|
||||
- name: Run checks
|
||||
run: |
|
||||
(cd .. && git clone https://github.com/ankitects/anki-proto.git)
|
||||
(cd .. && git clone https://github.com/ankitects/anki-lib-rust.git)
|
||||
make check BUILDFLAGS=""
|
19
lib-rust/.github/workflows/checks.yml
vendored
19
lib-rust/.github/workflows/checks.yml
vendored
|
@ -1,19 +0,0 @@
|
|||
name: Checks
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
max-parallel: 4
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Set up protoc
|
||||
uses: Arduino/actions/setup-protoc@master
|
||||
- name: Run checks
|
||||
run: |
|
||||
(cd .. && git clone https://github.com/ankitects/anki-proto.git)
|
||||
make check
|
Loading…
Reference in a new issue