Skip to content

Commit 2f4c72f

Browse files
committed
ci: install browser on CI instances without browser
1 parent d921285 commit 2f4c72f

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/alpine.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
run: |
2525
apk update
2626
apk add catch2 cmake g++ libxml2-dev make pkgconf zlib-dev
27+
apk add firefox-esr
2728
- name: Build
2829
run: |
2930
cd "$GITHUB_WORKSPACE"

.github/workflows/alpine_arm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
run: |
4848
apk update
4949
apk add catch2 cmake g++ libxml2-dev make pkgconf zlib-dev
50+
apk add firefox-esr
5051
- name: Build
5152
run: |
5253
cd "$GITHUB_WORKSPACE"

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ build_gcc:
1111
before_script:
1212
- apt-get update
1313
- apt-get -y install catch cmake g++ libxml2 libxml2-dev zlib1g-dev
14+
- apt-get install -y firefox-esr --no-install-recommends
1415
# Remove parts of the submodule that are not used but would get into CI's
1516
# way when linting.
1617
- rm -rf ./libstriezel/archive ./libstriezel/common/graphics ./libstriezel/common/gui ./libstriezel/tests
@@ -35,6 +36,7 @@ build_clang:
3536
before_script:
3637
- apt-get update
3738
- apt-get -y install catch cmake clang libxml2 libxml2-dev pkg-config zlib1g-dev
39+
- apt-get install -y firefox-esr --no-install-recommends
3840
# Remove parts of the submodule that are not used but would get into CI's
3941
# way when linting.
4042
- rm -rf ./libstriezel/archive ./libstriezel/common/graphics ./libstriezel/common/gui ./libstriezel/tests
@@ -60,6 +62,7 @@ coverage:
6062
before_script:
6163
- apt-get update
6264
- apt-get -y install catch cmake g++ lcov libxml2 libxml2-dev pkg-config zlib1g-dev
65+
- apt-get install -y firefox-esr --no-install-recommends
6366
script:
6467
# build and run tests
6568
- mkdir ./build-coverage

0 commit comments

Comments
 (0)