mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 22:53:28 +00:00
ci: force netsurf build deps each time
This commit is contained in:
31
.github/actions/install/action.yml
vendored
31
.github/actions/install/action.yml
vendored
@@ -14,36 +14,11 @@ runs:
|
||||
mkdir -p vendor/jsruntime-lib/vendor/v8/${{env.ARCH}}/release
|
||||
ln -s /usr/local/lib/libc_v8.a vendor/jsruntime-lib/vendor/v8/${{env.ARCH}}/release/libc_v8.a
|
||||
|
||||
- name: install deps
|
||||
- name: libiconv
|
||||
shell: bash
|
||||
run: |
|
||||
ln -s /usr/local/lib/libiconv vendor/libiconv
|
||||
|
||||
ln -s /usr/local/lib/netsurf/build vendor/netsurf/build
|
||||
ln -s /usr/local/lib/netsurf/lib vendor/netsurf/lib
|
||||
ln -s /usr/local/lib/netsurf/include vendor/netsurf/include
|
||||
|
||||
# detect file change
|
||||
- uses: dorny/paths-filter@v3.0.2
|
||||
id: changes
|
||||
with:
|
||||
filters: |
|
||||
netsurf:
|
||||
- 'vendor/netsurf/**'
|
||||
|
||||
# if a vendor has changed, install build dependencies.
|
||||
- name: install build dependencies
|
||||
if: steps.changes.outputs.netsurf == 'true'
|
||||
- name: build netsurf
|
||||
shell: bash
|
||||
run: |
|
||||
apt update && \
|
||||
apt install -y git curl bash xz-utils python3 ca-certificates pkg-config \
|
||||
libglib2.0-dev gperf libexpat1-dev cmake build-essential
|
||||
|
||||
# if netsurf has changed, force a rebuild.
|
||||
- name: re-build netsurf
|
||||
if: steps.changes.outputs.netsurf == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
make clean-netsurf
|
||||
make install-netsurf
|
||||
run: make install-netsurf
|
||||
|
||||
Reference in New Issue
Block a user