8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Replace deprecated ubuntu-16.04 by ubuntu-20.04.

This commit is contained in:
Adriano dos Santos Fernandes 2021-06-17 09:08:41 -03:00
parent c89a79857f
commit a7f4d33516

View File

@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macOS-latest, windows-2016, ubuntu-16.04]
os: [macOS-latest, windows-2016, ubuntu-20.04]
platform: [x64, x86]
include:
- os: ubuntu-18.04
@ -19,7 +19,7 @@ jobs:
exclude:
- os: macOS-latest
platform: x86
- os: ubuntu-16.04
- os: ubuntu-20.04
platform: x86
steps:
@ -28,15 +28,15 @@ jobs:
fetch-depth: 10
- name: Prepare (Linux)
if: matrix.os == 'ubuntu-16.04' && matrix.container != 'alpine'
if: matrix.os == 'ubuntu-20.04' && matrix.container != 'alpine'
run: |
sudo apt-get install libtool-bin libtommath0 libtommath-dev libicu-dev zlib1g-dev
sudo apt-get install libtool-bin libtomcrypt1 libtomcrypt-dev libtommath1 libtommath-dev libicu-dev zlib1g-dev
- name: Build (Linux)
if: matrix.os == 'ubuntu-16.04' && matrix.container != 'alpine'
if: matrix.os == 'ubuntu-20.04' && matrix.container != 'alpine'
run: |
CC=clang CXX=clang++ ./autogen.sh --enable-binreloc --with-builtin-tomcrypt --prefix=/opt/firebird
make
CC=clang CXX=clang++ ./autogen.sh --enable-binreloc --prefix=/opt/firebird
make -j4
make dist
tar xzvf gen/Firebird-[0-9]*.tar.gz
(cd Firebird-[0-9]*; sudo ./install.sh -silent)
@ -138,7 +138,7 @@ jobs:
run_all.bat JUSTBUILD
- name: Upload (Linux)
if: matrix.os == 'ubuntu-16.04' && matrix.container != 'alpine'
if: matrix.os == 'ubuntu-20.04' && matrix.container != 'alpine'
uses: actions/upload-artifact@master
with:
name: firebird-linux