- uses: actions/checkout@v2
- name: Prepare environment (for new gnu on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='new')
- run: echo CC=gcc-10 >> ${GITHUB_ENV}
- run: echo CXX=g++-10 >> ${GITHUB_ENV}
- run: echo INSTALL_CC='gcc-10' >> ${GITHUB_ENV}
- run: echo INSTALL_CXX='g++-10' >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-10 >> ${GITHUB_ENV}
+ echo CXX=g++-10 >> ${GITHUB_ENV}
+ echo INSTALL_CC='gcc-10' >> ${GITHUB_ENV}
+ echo INSTALL_CXX='g++-10' >> ${GITHUB_ENV}
- name: Prepare environment (for cur gnu on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
- run: echo CC=gcc-9 >> ${GITHUB_ENV}
- run: echo CXX=g++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-9 >> ${GITHUB_ENV}
+ echo CXX=g++-9 >> ${GITHUB_ENV}
- name: Prepare environment (for old gnu on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='old')
- run: echo CC=gcc-8 >> ${GITHUB_ENV}
- run: echo CXX=g++-8 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-8 >> ${GITHUB_ENV}
+ echo CXX=g++-8 >> ${GITHUB_ENV}
- name: Prepare environment (for new clang on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='clang') && (env.CC_VER=='new')
- run: echo CC=clang-10 >> ${GITHUB_ENV}
- run: echo CXX=clang++-10 >> ${GITHUB_ENV}
+ run: |
+ echo CC=clang-10 >> ${GITHUB_ENV}
+ echo CXX=clang++-10 >> ${GITHUB_ENV}
- name: Prepare environment (for cur clang on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='clang') && (env.CC_VER=='cur')
- run: echo CC=clang-9 >> ${GITHUB_ENV}
- run: echo CXX=clang++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=clang-9 >> ${GITHUB_ENV}
+ echo CXX=clang++-9 >> ${GITHUB_ENV}
- name: Prepare environment (for old clang on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='clang') && (env.CC_VER=='old')
- run: echo CC=clang-8 >> ${GITHUB_ENV}
- run: echo CXX=clang++-8 >> ${GITHUB_ENV}
+ run: |
+ echo CC=clang-8 >> ${GITHUB_ENV}
+ echo CXX=clang++-8 >> ${GITHUB_ENV}
- name: Prepare environment (for new gnu on ubuntu-18.04)
if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='gnu') && (env.CC_VER=='new')
- run: echo CC=gcc-9 >> ${GITHUB_ENV}
- run: echo CXX=g++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-9 >> ${GITHUB_ENV}
+ echo CXX=g++-9 >> ${GITHUB_ENV}
- name: Prepare environment (for cur gnu on ubuntu-18.04)
if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
- run: echo CC=gcc-8 >> ${GITHUB_ENV}
- run: echo CXX=g++-8 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-8 >> ${GITHUB_ENV}
+ echo CXX=g++-8 >> ${GITHUB_ENV}
- name: Prepare environment (for old gnu on ubuntu-18.04)
if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='gnu') && (env.CC_VER=='old')
- run: echo CC=gcc-7 >> ${GITHUB_ENV}
- run: echo CXX=g++-7 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-7 >> ${GITHUB_ENV}
+ echo CXX=g++-7 >> ${GITHUB_ENV}
- name: Prepare environment (for new clang on ubuntu-18.04)
if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='clang') && (env.CC_VER=='new')
- run: echo CC=clang-9 >> ${GITHUB_ENV}
- run: echo CXX=clang++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=clang-9 >> ${GITHUB_ENV}
+ echo CXX=clang++-9 >> ${GITHUB_ENV}
- name: Prepare environment (for cur clang on ubuntu-18.04)
if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='clang') && (env.CC_VER=='cur')
- run: echo CC=clang-8 >> ${GITHUB_ENV}
- run: echo CXX=clang++-8 >> ${GITHUB_ENV}
+ run: |
+ echo CC=clang-8 >> ${GITHUB_ENV}
+ echo CXX=clang++-8 >> ${GITHUB_ENV}
- name: Prepare environment (for old clang on ubuntu-18.04)
if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='clang') && (env.CC_VER=='old')
- run: echo CC=clang-6.0 >> ${GITHUB_ENV}
- run: echo CXX=clang++-6.0 >> ${GITHUB_ENV}
+ run: |
+ echo CC=clang-6.0 >> ${GITHUB_ENV}
+ echo CXX=clang++-6.0 >> ${GITHUB_ENV}
- name: Install dependencies
if: runner.os == 'Linux'
run: sudo apt-get install libevent-dev libsasl-dev ${INSTALL_MEMCACHED} ${INSTALL_CC} ${INSTALL_CXX}
- name: Generate build tree (${CMAKE_CONFIG_TYPE})
- run: mkdir build
run: cmake -S . -B build
- name: Build all with ${CXX} ${CXXFLAGS}
run: make -C build -j2 all
- uses: actions/checkout@v2
- name: Prepare environment (for cur gnu on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
- run: echo CC=gcc-9 >> ${GITHUB_ENV}
- run: echo CXX=g++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-9 >> ${GITHUB_ENV}
+ echo CXX=g++-9 >> ${GITHUB_ENV}
- name: Install dependencies
if: runner.os == 'Linux'
run: sudo apt-get install libevent-dev libsasl-dev ${INSTALL_MEMCACHED} ${INSTALL_CC} ${INSTALL_CXX}
- name: Generate build tree (${CMAKE_CONFIG_TYPE})
- run: mkdir build
run: cmake -S . -B build
- name: Build all with ${CXX} ${CXXFLAGS}
run: make -C build -j2 all
- uses: actions/checkout@v2
- name: Prepare environment (for cur gnu on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
- run: echo CC=gcc-9 >> ${GITHUB_ENV}
- run: echo CXX=g++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-9 >> ${GITHUB_ENV}
+ echo CXX=g++-9 >> ${GITHUB_ENV}
- name: Install dependencies
if: runner.os == 'Linux'
run: sudo apt-get install libevent-dev libsasl-dev ${INSTALL_MEMCACHED} ${INSTALL_CC} ${INSTALL_CXX}
- name: Generate build tree (${CMAKE_CONFIG_TYPE})
- run: mkdir build
run: cmake -S . -B build
- name: Build all with ${CXX} ${CXXFLAGS}
run: make -C build -j2 all
make -j2
make install
cd ..
- - name: Prepare environment (for cur gnu on ubuntu-20.04)
+ - name: Prepare environment (for cur gnu on ubuntu-20.04)
if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
- run: echo CC=gcc-9 >> ${GITHUB_ENV}
- run: echo CXX=g++-9 >> ${GITHUB_ENV}
+ run: |
+ echo CC=gcc-9 >> ${GITHUB_ENV}
+ echo CXX=g++-9 >> ${GITHUB_ENV}
- name: Install dependencies
if: runner.os == 'Linux'
run: sudo apt-get install libevent-dev libsasl-dev ${INSTALL_MEMCACHED} ${INSTALL_CC} ${INSTALL_CXX}
- name: Generate build tree (${CMAKE_CONFIG_TYPE})
- run: mkdir build
run: cmake -S . -B build
- name: Build all with ${CXX} ${CXXFLAGS}
run: make -C build -j2 all