Skip to content

Update GitHub Actions workflow with fixes from simplify branch #30

Update GitHub Actions workflow with fixes from simplify branch

Update GitHub Actions workflow with fixes from simplify branch #30

Workflow file for this run

name: Build Panoptes
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build ${{ matrix.config }}
runs-on: [self-hosted, DESKTOP-N792BI5]
strategy:
matrix:
config: [Debug, Release]
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
with:
vcpkgJsonGlob: 'vcpkg.json'
useVcpkgInstallArtifactCaching: true
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Configure CMake
run: cmake --preset default -DBUILD_DRIVER=ON -DBUILD_GRPC=ON
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg
- name: Build
run: cmake --build build/default --config ${{ matrix.config }}
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: panoptes-${{ matrix.config }}
path: |
bin/${{ matrix.config }}/**/*.dll
bin/${{ matrix.config }}/**/*.exe
bin/${{ matrix.config }}/**/*.pdb
bin/tests/${{ matrix.config }}/**/*.exe
bin/tests/${{ matrix.config }}/**/*.pdb
if-no-files-found: warn