-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (34 loc) · 937 Bytes
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: latest
on:
push:
branches:
- dev
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'Bump') }}
steps:
- name: Clone
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: Dependency
run: |
sudo apt-get install doxygen graphviz -y
pip install -e .
rm $(pwd)/suanPan-linux-openblas-no-avx/bin/updater
sudo ln -s $(pwd)/suanPan-linux-openblas-no-avx/bin/suanPan.sh /usr/bin/suanpan
suanpan -v
- name: Publish
run: |
git fetch origin
git config --global user.name "Theodore Chang"
git config --global user.email "tlcfem@gmail.com"
git pull
mike deploy 3.6
git push origin gh-pages