mirror of
https://github.com/whoahq/whoa.git
synced 2026-08-04 16:04:30 +03:00
Some checks failed
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:cl compiler_name:MSVC cxx:cl os:windows-latest system_name:Windows test_path:WhoaTest]) (push) Has been cancelled
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:clang compiler_name:Clang cxx:clang++ os:macos-latest system_name:macOS test_path:WhoaTest]) (push) Has been cancelled
Push / ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }} (map[build_type:Release cc:gcc compiler_name:GCC cxx:g++ os:ubuntu-latest system_name:Linux test_path:WhoaTest]) (push) Has been cancelled
71 lines
1.7 KiB
YAML
71 lines
1.7 KiB
YAML
name: Push
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
name: ${{ matrix.build.system_name }} / ${{ matrix.build.build_type }} / ${{ matrix.build.compiler_name }}
|
|
runs-on: ${{ matrix.build.os }}
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
build:
|
|
- system_name: Linux
|
|
build_type: Release
|
|
compiler_name: GCC
|
|
test_path: WhoaTest
|
|
os: ubuntu-latest
|
|
cc: gcc
|
|
cxx: g++
|
|
|
|
- system_name: macOS
|
|
build_type: Release
|
|
compiler_name: Clang
|
|
test_path: WhoaTest
|
|
os: macos-latest
|
|
cc: clang
|
|
cxx: clang++
|
|
|
|
- system_name: Windows
|
|
build_type: Release
|
|
compiler_name: MSVC
|
|
test_path: WhoaTest
|
|
os: windows-latest
|
|
cc: cl
|
|
cxx: cl
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Download Fixtures
|
|
run: curl -o test/fixture/whoa-fixture.tgz https://whoa.reliquaryhq.com/whoa-fixture.tgz
|
|
|
|
- name: Unpack Fixtures
|
|
run: tar -xvzf whoa-fixture.tgz
|
|
working-directory: test/fixture
|
|
|
|
- name: Prepare
|
|
run: mkdir build
|
|
|
|
- name: Configure
|
|
run: cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build.build_type }}
|
|
working-directory: build
|
|
|
|
- name: Build
|
|
run: cmake --build . --config ${{ matrix.build.build_type }}
|
|
working-directory: build
|
|
|
|
- name: Install
|
|
run: cmake --install . --config ${{ matrix.build.build_type }}
|
|
working-directory: build
|
|
|
|
- name: Test
|
|
run: ../../build/dist/bin/${{ matrix.build.test_path }}
|
|
working-directory: test/fixture
|