Skip to content

Commit

Permalink
Initial script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Sep 24, 2024
1 parent 3914e5c commit 564b46c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build

on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
steps:
- uses: actions/checkout@v4
- name: Windows
if: matrix.os == 'windows-latest'
run: |
msbuild inipp.sln
vstest.console /Platform:x64 x64\Debug\unittest.dll
- name: Ubuntu/MacOS
if: matrix.os != 'windows-latest'
run: |
cmake .
make
make test

0 comments on commit 564b46c

Please sign in to comment.