Skip to content

Commit

Permalink
Create test-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuzu-Typ authored Oct 27, 2024
1 parent dc9a01b commit a85e2b9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test build

on:
workflow_dispatch:
push:

jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: cmake build
run: cmake -B build

- name: cmake build release
run: cmake --build build --config Release

- uses: actions/upload-artifact@v4
with:
name: artifact-${{matrix.os}}
path: ./build/lib/Release/*

0 comments on commit a85e2b9

Please sign in to comment.