Skip to content

Commit

Permalink
Merge pull request #1 from skrah/add-ci
Browse files Browse the repository at this point in the history
Add continuous integration.
  • Loading branch information
skrah authored Apr 27, 2024
2 parents 461180f + 0d849c0 commit 089d552
Showing 1 changed file with 88 additions and 0 deletions.
88 changes: 88 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
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: |
cd xndlib
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ..\ndtypes
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ..\xnd
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ..\gumath
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
shell: cmd
vcbuild32:
name: "Windows Release|x86"
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: |
cd xndlib
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ..\ndtypes
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ..\xnd
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ..\gumath
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
osx_x64:
name: 'OSX x64'
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: |
cd xndlib
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ../ndtypes
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ../xnd
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ../gumath
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
ubuntu_x64:
name: 'Ubuntu x64'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
cd xndlib
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ../ndtypes
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ../xnd
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .
cd ../gumath
git clone https://github.com/xnd-project/xnd source/xnd
python3 -m build .

0 comments on commit 089d552

Please sign in to comment.