Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the ci #37

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .appveyor.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .azure-pipelines/azure-pipelines-linux.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .azure-pipelines/azure-pipelines-osx.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .azure-pipelines/unix-build.yml

This file was deleted.

14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

defaults:
run:
Expand Down Expand Up @@ -42,13 +42,19 @@ jobs:
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
-DDOWNLOAD_GTEST=ON \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
-DCMAKE_INSTALL_LIBDIR=lib
working-directory: build

- name: Build
run: make -j ${{ steps.cpu-cores.outputs.count }}
working-directory: build

- name: Install
run: make install
working-directory: build

- name: Test xeus-calc
run: ./test_xeus_calc
working-directory: build/test
Expand Down Expand Up @@ -82,13 +88,13 @@ jobs:
cmake .. ^
-G Ninja ^
-DCMAKE_BUILD_TYPE=Release ^
-DDOWNLOAD_GTEST=ON ^
-DDOWNLOAD_GTEST=OFF ^
-DDEPENDENCY_SEARCH_PREFIX="%CONDA_PREFIX%\Library" ^
-DCMAKE_PREFIX_PATH="%CONDA_PREFIX%\Library" ^
-DCMAKE_INSTALL_PREFIX="%CONDA_PREFIX%"
working-directory: build

- name: Build
- name: Build and Install
run: |
set CL=/MP
ninja install
Expand Down
2 changes: 2 additions & 0 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ channels:
dependencies:
# Build dependencies
- cmake
- cxx-compiler
- ninja
# Host dependencies
- xeus-zmq=3.1.0
- nlohmann_json
Expand Down