From 79633c5c51ca7c6da7c7a0f67977b045363f75cf Mon Sep 17 00:00:00 2001 From: viest Date: Sat, 28 Aug 2021 16:41:20 +0800 Subject: [PATCH] Fix: github workflows --- .github/workflows/main.yml | 14 +++++++++++++- config.m4 | 1 + config.w32 | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbfebe8..019aefa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,18 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0'] + php-versions: ['8.0'] + include: + - operating-system: 'ubuntu-18.04' + php-versions: '7.0' + - operating-system: 'ubuntu-18.04' + php-versions: '7.1' + - operating-system: 'ubuntu-18.04' + php-versions: '7.2' + - operating-system: 'ubuntu-18.04' + php-versions: '7.3' + - operating-system: 'ubuntu-18.04' + php-versions: '7.4' name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} steps: - name: Checkout @@ -21,6 +32,7 @@ jobs: - name: Setup Dependencies run: | + sudo apt-get --fix-broken install sudo apt-get update sudo apt-get install zlib1g-dev valgrind -y diff --git a/config.m4 b/config.m4 index 0fb2694..8532ee5 100644 --- a/config.m4 +++ b/config.m4 @@ -49,6 +49,7 @@ if test "$PHP_XLSWRITER" != "no"; then library/libxlsxwriter/src/drawing.c \ library/libxlsxwriter/src/format.c \ library/libxlsxwriter/src/hash_table.c \ + library/libxlsxwriter/src/metadata.c \ library/libxlsxwriter/src/packager.c \ library/libxlsxwriter/src/relationships.c \ library/libxlsxwriter/src/shared_strings.c \ diff --git a/config.w32 b/config.w32 index 6835eba..1a2466e 100644 --- a/config.w32 +++ b/config.w32 @@ -58,6 +58,7 @@ if (PHP_XLSWRITER != "no") { drawing.c \ format.c \ hash_table.c \ + metadata.c \ packager.c \ relationships.c \ shared_strings.c \