Skip to content

Build

Build #17

Workflow file for this run

name: Build
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
workflow_dispatch:
env:
PRINCIPIA_HEADERS_ABSEIL: absl
PRINCIPIA_MSVC_ABSEIL: msvc
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
configuration: [Debug, Release]
steps:
- name: Checkout source files
uses: actions/checkout@v3
- name: Initialize build environment
uses: mockingbirdnest/actions/windows/initialize_build@main
with:
configuration: ${{ matrix.configuration }}
- name: Download glog artifact
uses: mockingbirdnest/actions/windows/download_artifact@main
with:
name: glog
configuration: ${{ matrix.configuration }}
- name: Download benchmark artifact
uses: mockingbirdnest/actions/windows/download_artifact@main
with:
name: benchmark
configuration: ${{ matrix.configuration }}
- name: Download googletest artifact
uses: mockingbirdnest/actions/windows/download_artifact@main
with:
name: googletest
configuration: ${{ matrix.configuration }}
- name: Rebuild ${{ matrix.configuration }}
uses: mockingbirdnest/actions/windows/rebuild@main
with:
configuration: ${{ matrix.configuration }}
solution_directory: ${{ env.PRINCIPIA_MSVC_ABSEIL }}
- name: Upload artifact
uses: mockingbirdnest/actions/windows/upload_artifact@main
with:
name: abseil-cpp
headers_directory: ${{ env.PRINCIPIA_HEADERS_ABSEIL }}
solution_directory: ${{ env.PRINCIPIA_MSVC_ABSEIL }}