From a08a945c589462f524efddbc8d62427bb002bb6a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 10 Dec 2020 22:54:46 +0100 Subject: [PATCH] CentOS doesn't exist any more --- .github/workflows/dotnet-core.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 7de694c4..24f6b606 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -28,23 +28,22 @@ jobs: build-linux-glibc: runs-on: ubuntu-latest container: - image: centos:6 + image: ubuntu:16.04 steps: - name: Set up build environment run: | - yum install -q -y centos-release-scl ca-certificates - yum install -q -y devtoolset-7-gcc* + apt-get update && apt-get install -y build-essential - uses: actions/checkout@v1 - name: configure - run: scl enable devtoolset-7 './configure --disable-debug --prefix=$PWD/.libsodium-build' + run: ./configure --disable-debug --prefix=$PWD/.libsodium-build - name: make - run: scl enable devtoolset-7 'make' + run: make - name: make check - run: scl enable devtoolset-7 'make check' + run: make check - name: make install - run: scl enable devtoolset-7 'make install' + run: make install - name: strip - run: scl enable devtoolset-7 'strip --strip-all .libsodium-build/lib/libsodium.so' + run: strip --strip-all .libsodium-build/lib/libsodium.so - uses: actions/upload-artifact@v1 with: name: build-linux-x64