CentOS doesn't exist any more
This commit is contained in:
parent
fad8d55cf6
commit
a08a945c58
15
.github/workflows/dotnet-core.yml
vendored
15
.github/workflows/dotnet-core.yml
vendored
@ -28,23 +28,22 @@ jobs:
|
|||||||
build-linux-glibc:
|
build-linux-glibc:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: centos:6
|
image: ubuntu:16.04
|
||||||
steps:
|
steps:
|
||||||
- name: Set up build environment
|
- name: Set up build environment
|
||||||
run: |
|
run: |
|
||||||
yum install -q -y centos-release-scl ca-certificates
|
apt-get update && apt-get install -y build-essential
|
||||||
yum install -q -y devtoolset-7-gcc*
|
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: configure
|
- name: configure
|
||||||
run: scl enable devtoolset-7 './configure --disable-debug --prefix=$PWD/.libsodium-build'
|
run: ./configure --disable-debug --prefix=$PWD/.libsodium-build
|
||||||
- name: make
|
- name: make
|
||||||
run: scl enable devtoolset-7 'make'
|
run: make
|
||||||
- name: make check
|
- name: make check
|
||||||
run: scl enable devtoolset-7 'make check'
|
run: make check
|
||||||
- name: make install
|
- name: make install
|
||||||
run: scl enable devtoolset-7 'make install'
|
run: make install
|
||||||
- name: strip
|
- 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
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: build-linux-x64
|
name: build-linux-x64
|
||||||
|
Loading…
Reference in New Issue
Block a user