Skip to content

Commit

Permalink
Try to build fcbench in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Nov 10, 2023
1 parent c9554bb commit 30bba19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,20 @@ jobs:
restore-keys: |
pyodide-${{ env.PYODIDE_SHA_SHORT }}-${{ hashFiles('patches/pyodide.patch') }}
pyodide-${{ env.PYODIDE_SHA_SHORT }}
- name: Add a read-only SSH key to pull private dependencies
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.FCBENCH_SSH_TOKEN }}
- name: Build Pyodide
run: |
cd pyodide
git apply --whitespace=nowarn ../patches/pyodide.patch
cp -r ../fcpy packages/fcpy/fcpy
./run_docker --non-interactive PYODIDE_PACKAGES="basemap,fcpy" make
git clone -b fcbench [email protected]:juntyr/field-compression-benchmark.git packages/fcbench/field-compression-benchmark
PYODIDE_DOCKER_IMAGE=$(docker build . -q) ./run_docker --non-interactive PYODIDE_PACKAGES="basemap,fcpy,fcbench,ipyfilite,ipyloglite,pyodide-http" make
git apply --whitespace=nowarn --reverse ../patches/pyodide.patch
rm -rf packages/fcpy/fcpy
rm -rf packages/fcbench/field-compression-benchmark
cd ..
mkdir -p static
cp -r pyodide/dist static/pyodide
Expand Down

0 comments on commit 30bba19

Please sign in to comment.