ci: drop setup-ninja action

This commit is contained in:
Sergiu Deitsch 2023-10-05 20:25:02 +02:00
parent 3411d58669
commit b90799c277
No known key found for this signature in database
3 changed files with 10 additions and 13 deletions

View File

@ -5,7 +5,7 @@ on: [push, pull_request]
jobs: jobs:
build-android: build-android:
name: NDK-C++${{matrix.std}}-${{matrix.abi}}-${{matrix.build_type}} name: NDK-C++${{matrix.std}}-${{matrix.abi}}-${{matrix.build_type}}
runs-on: ubuntu-latest runs-on: ubuntu-22.04
defaults: defaults:
run: run:
shell: bash shell: bash
@ -21,10 +21,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Ninja - name: Setup Dependencies
uses: ashutoshvarma/setup-ninja@master run: |
with: sudo apt-get update
version: 1.10.0 DEBIAN_FRONTEND=noninteractive sudo apt-get install -y \
cmake \
ninja-build
- name: Setup NDK - name: Setup NDK
env: env:

View File

@ -8,7 +8,7 @@ jobs:
run: run:
shell: bash shell: bash
name: Emscripten-C++${{matrix.std}}-${{matrix.build_type}}-${{matrix.lib}} name: Emscripten-C++${{matrix.std}}-${{matrix.build_type}}-${{matrix.lib}}
runs-on: ubuntu-latest runs-on: ubuntu-22.04
container: emscripten/emsdk container: emscripten/emsdk
strategy: strategy:
fail-fast: true fail-fast: true
@ -22,7 +22,7 @@ jobs:
- name: Setup Dependencies - name: Setup Dependencies
run: | run: |
apt-get update sudo apt-get update
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y \ DEBIAN_FRONTEND=noninteractive sudo apt-get install -y \
cmake \ cmake \
ninja-build ninja-build

View File

@ -17,14 +17,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Ninja
uses: ashutoshvarma/setup-ninja@master
with:
version: 1.10.0
- name: Setup Dependencies - name: Setup Dependencies
run: | run: |
brew install lcov brew install lcov ninja
- name: Setup Environment - name: Setup Environment
if: matrix.build_type == 'Debug' if: matrix.build_type == 'Debug'