Changeset: 0960da91cd29 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/0960da91cd29
Added Files:
.github/workflows/macos.yml
Modified Files:
.github/workflows/linux.yml
Branch: ci_overhaul
Log Message:
split up macos and linux ci
diffs (100 lines):
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -1,12 +1,10 @@
-name: MonetDB build and test
+name: Linux
on:
push:
branches:
- '*'
- 'branches/*'
- pull_request:
- # Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
@@ -18,33 +16,18 @@ jobs:
fail-fast: false # don't stop other jobs
matrix:
branch: [ master ]
- os: [ ubuntu-latest, macos-latest ]
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ matrix.branch }}
-
- name: make MonetDB on linux
run: |
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/${{ matrix.branch }}
-DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DRINTEGRATION=OFF
make install -j3
- if: runner.os == 'Linux'
- -
- name: brew packages
- run: brew install bison
- if: runner.os == 'macOS'
- - name: make MonetDB on macos
- run: |
- mkdir build
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/${{ matrix.branch }}
-DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DRINTEGRATION=OFF
\
- -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison
- make install -j3
- if: runner.os == 'macOS'
- name: ctest
run: |
cd build
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
new file mode 100644
--- /dev/null
+++ b/.github/workflows/macos.yml
@@ -0,0 +1,43 @@
+name: MacOS
+
+on:
+ push:
+ branches:
+ - '*'
+ - 'branches/*'
+ workflow_dispatch:
+
+ schedule:
+ - cron: '15 1 * * *'
+
+jobs:
+ test:
+ strategy:
+ fail-fast: false # don't stop other jobs
+ matrix:
+ branch: [ master ]
+ runs-on: macos-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ ref: ${{ matrix.branch }}
+ - name: brew packages
+ run: brew install bison
+ - name: make MonetDB on macos
+ run: |
+ mkdir build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/${{ matrix.branch }}
-DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DRINTEGRATION=OFF
\
+ -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison
+ make install -j3
+ - name: ctest
+ run: |
+ cd build
+ cmake --build . --target test
+ #-
+ #uses: actions/upload-artifact@v3
+ #name: Publish Linux binary wheels
+ #with:
+ #name: monetdbe-linux-wheel-${{ matrix.branch }}-${{
matrix.python-version }}
+ #path: dist/*.whl
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]