Skip to content

Commit

Permalink
add vis, npm, R
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbkoch committed Jul 25, 2024
1 parent 484b61a commit ef56f63
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ on:
schedule:
- cron: "0 12 * * *"

env:
python_bld_ver: 3.9
ubuntu_bld: ubuntu-20.04
mac_bld: macOS-13
windows_bld: windows-2022
ubuntu_test: ubuntu-latest
mac_test: macOS-latest
windows_test: windows-latest

jobs:
bld:
strategy:
Expand Down Expand Up @@ -84,3 +93,58 @@ jobs:
with:
name: asm-${{ matrix.artifact_name }}
path: bld/asm/

vis:
runs-on: ${{ env.ubuntu_bld }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Build vis
run: |
cd shared/vis
npm install
npm run build-prod
- name: Publish interpret-inline.js library
uses: actions/upload-artifact@v2
with:
name: vis
path: shared/vis/dist

npm:
runs-on: ${{ env.ubuntu_bld }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Build npm package
run: |
cd shared/vis
npm install
npm run build-prod
npm pack
mkdir pkg
cp *.tgz pkg/
- name: Publish npm package
uses: actions/upload-artifact@v2
with:
name: npm
path: shared/vis/pkg

R:
runs-on: ${{ env.ubuntu_bld }}
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Build R package
run: |
cd R
sudo apt --yes update
sudo apt --yes install texlive-latex-base texlive-fonts-extra
Rscript build.R
- name: Display errors
if: failure()
run: cat bld/tmp/R/interpret.Rcheck/00install.out
- name: Publish R package
uses: actions/upload-artifact@v2
with:
name: R
path: bld/R

0 comments on commit ef56f63

Please sign in to comment.