Trying to make the google action to work.
This commit is contained in:
12
.github/workflows/cmake.yml
vendored
12
.github/workflows/cmake.yml
vendored
@@ -11,13 +11,16 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
|
||||
# You can convert this to a matrix build if you need cross-platform coverage.
|
||||
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||
runs-on: ${{ matrix.os }}
|
||||
continue-on-error: ${{ matrix.allow_failure }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-latest, macos-latest ]
|
||||
os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-latest ]
|
||||
allow_failure: [ false ]
|
||||
# include:
|
||||
# - os: macos-latest
|
||||
# allow_failure: true
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -26,7 +29,6 @@ jobs:
|
||||
|
||||
- name: Install needed dependencies
|
||||
run: sudo apt install xorg-dev libglu1-mesa-dev
|
||||
if: ${{ matrix.os }} != "macos-latest"
|
||||
|
||||
- name: Configure CMake
|
||||
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||
|
||||
Reference in New Issue
Block a user