parent
9743480f3c
commit
a3310b7cff
23
.github/workflows/continuous_integration.yml
vendored
23
.github/workflows/continuous_integration.yml
vendored
@ -66,14 +66,15 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-11]
|
os: [macos-11, macos-12]
|
||||||
compiler: [{cc: clang, cxx: clang++}]
|
compiler: [{cc: clang, cxx: clang++}, {cc: gcc, cxx: g++}]
|
||||||
cmake_build_type: [Debug, Release]
|
cmake_build_type: [Debug, Release]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
python-version: '3.7'
|
python-version: '3.7'
|
||||||
|
- uses: lukka/get-cmake@latest
|
||||||
- name: Install GoogleTest
|
- name: Install GoogleTest
|
||||||
run: |
|
run: |
|
||||||
# check out pre-breakage version of googletest; can be deleted when
|
# check out pre-breakage version of googletest; can be deleted when
|
||||||
@ -87,16 +88,16 @@ jobs:
|
|||||||
git reset --hard FETCH_HEAD
|
git reset --hard FETCH_HEAD
|
||||||
cd ../..
|
cd ../..
|
||||||
- name: Update Glslang Sources
|
- name: Update Glslang Sources
|
||||||
run: |
|
run: ./update_glslang_sources.py
|
||||||
./update_glslang_sources.py
|
- name: Configure
|
||||||
- name: Build
|
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{matrix.cmake_build_type}} -G "Ninja"
|
||||||
env:
|
env:
|
||||||
CC: ${{matrix.compiler.cc}}
|
CC: ${{matrix.compiler.cc}}
|
||||||
CXX: ${{matrix.compiler.cxx}}
|
CXX: ${{matrix.compiler.cxx}}
|
||||||
run: |
|
- name: Build
|
||||||
mkdir build && cd build
|
run: cmake --build build
|
||||||
cmake -DCMAKE_BUILD_TYPE=${{matrix.cmake_build_type}} -DCMAKE_INSTALL_PREFIX=`pwd`/install ..
|
- name: Install
|
||||||
make -j4 install
|
run: cmake --install build --prefix build/install
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user