mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
ci: install compiler
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -26,11 +26,9 @@ jobs:
|
|||||||
sudo apt-add-repository ppa:mhier/libboost-latest
|
sudo apt-add-repository ppa:mhier/libboost-latest
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install boost1.70
|
sudo apt-get install boost1.70
|
||||||
if [[ "${{ matrix.compiler }}" == "g++-6" || "${{ matrix.compiler }}" == "g++-5" ]] ; then
|
|
||||||
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install ${{ matrix.compiler }}
|
sudo apt-get install ${{ matrix.compiler }}
|
||||||
fi
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
@@ -70,11 +68,9 @@ jobs:
|
|||||||
sudo apt-add-repository ppa:mhier/libboost-latest
|
sudo apt-add-repository ppa:mhier/libboost-latest
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install boost1.70
|
sudo apt-get install boost1.70
|
||||||
if [[ "${{ matrix.compiler }}" != "6" && "${{ matrix.compiler }}" != "8" && "${{ matrix.compiler }}" != "9" ]] ; then
|
|
||||||
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install clang-${{ matrix.compiler }}
|
sudo apt-get install clang-${{ matrix.compiler }}
|
||||||
fi
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
Reference in New Issue
Block a user