Skip to content

Commit

Permalink
Merge pull request #2 from skrah/add-ci
Browse files Browse the repository at this point in the history
Add continuous integration.
  • Loading branch information
skrah committed Apr 27, 2024
2 parents 5937705 + fce7419 commit 5fdf751
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,77 @@
name: Tests

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:

vcbuild64:
name: "Windows Release|x64"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: |
mkdir build
cd build
cmake ..
cmake --build . --config Release --target all
cmake --build . --config Release --target ntest
cmake --build . --config Release --target xtest
cmake --build . --config Release --target npytest
cmake --build . --config Release --target xpytest
cmake --build . --config Release --target gpytest
shell: cmd
vcbuild32:
name: "Windows Release|x86"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: |
mkdir build
cd build
cmake ..
cmake --build . --config Release --target all
cmake --build . --config Release --target ntest
cmake --build . --config Release --target xtest
cmake --build . --config Release --target npytest
cmake --build . --config Release --target xpytest
cmake --build . --config Release --target gpytest
shell: cmd
osx_x64:
name: 'OSX x64'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: |
mkdir build
cd build
cmake ..
cmake --build . --config Release --target all
cmake --build . --config Release --target ntest
cmake --build . --config Release --target xtest
cmake --build . --config Release --target npytest
cmake --build . --config Release --target xpytest
cmake --build . --config Release --target gpytest
ubuntu_x64:
name: 'OSX x64'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
mkdir build
cd build
cmake ..
cmake --build . --config Release --target all
cmake --build . --config Release --target ntest
cmake --build . --config Release --target xtest
cmake --build . --config Release --target npytest
cmake --build . --config Release --target xpytest
cmake --build . --config Release --target gpytest

0 comments on commit 5fdf751

Please sign in to comment.