Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
KedoKudo committed Apr 21, 2023
1 parent 4bb6c61 commit 2dc0310
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: sophiread_ci

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- qa
- next
tags:
- "v*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
mamba-version: "*"
environment-file: sophiread/environment_linux.yml
- name: build_sophiread
shell: bash -l {0}
run: |
cd sophiread
mkdir build
cd build
cmake ..
make
- name: test_sophiread
shell: bash -l {0}
run: |
cd sophiread/build
ctest -V

0 comments on commit 2dc0310

Please sign in to comment.