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

Manuel #14

Open
wants to merge 19 commits into
base: release-2020
Choose a base branch
from
Open
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
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: build_gromacs

on:
# Triggers on push and pull-request in branch 'manuel'
push:
branches: [ manuel ]
pull_request:
branches: [ manuel ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
# Single job called "build"
build:
runs-on: ubuntu-latest
steps:
#Checkout repository
- uses: actions/checkout@v3
# Create a build directory
- name: Directory
run: mkdir build
# Change to build directory and run cmake
- name: Cmake
run: cd build && cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON
# Install
- name: Build
run: cd build && make
- name: Test
run: cd build && make check
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: cpp

compiler:
- gcc

before_script:
# Create a build directory
- mkdir build
# Change to build directory
- cd build
# Run cmake
- cmake .. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=ON

script:
- make
#- make check
- make install
- source /usr/local/gromacs/bin/GMXRC
2 changes: 1 addition & 1 deletion src/api/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
endif()

set_target_properties(gmxapi PROPERTIES
# REMOVE ESSA LINHA! Se isole e lave as mãos!
OUTPUT_NAME "gmxapi${GMX_LIBS_SUFFIX}"
SOVERSION ${GMXAPI_MAJOR}
VERSION ${GMXAPI_RELEASE}
)
Expand Down
2 changes: 2 additions & 0 deletions test_travis_file
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test_trigger
test_trigger