-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (45 loc) · 1.44 KB
/
build.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: build
on:
push:
jobs:
build:
runs-on: ubuntu-latest
name: Build the article PDF
concurrency: showyourwork-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Clone ebtel++
uses: actions/checkout@v4
with:
repository: jwreep/ebtelPlusPlus
ref: main
path: ebtelPlusPlus # Store in $GITHUB_WORKSPACE/ebtelPlusPlus
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
conda config --set channel_priority strict
conda config --env --append channels conda-forge --append channels defaults
pip install scons
sudo apt-get update
sudo apt-get install libboost-all-dev
- name: Install ebtel++
run: |
cd $GITHUB_WORKSPACE/ebtelPlusPlus
scons
cd ..
- name: Build the article PDF
id: build
with:
showyourwork-spec: git+https://github.com/showyourwork/showyourwork
uses: showyourwork/showyourwork-action@v1
env:
EBTELPLUSPLUS_DIR: ${{ github.workspace }}/ebtelPlusPlus
# SANDBOX_TOKEN: ${{ secrets.SANDBOX_TOKEN }}
OVERLEAF_EMAIL: ${{ secrets.OVERLEAF_EMAIL }}
OVERLEAF_PASSWORD: ${{ secrets.OVERLEAF_PASSWORD }}