-
Notifications
You must be signed in to change notification settings - Fork 68
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
Circle 2 GitHubAction #1569
Merged
Circle 2 GitHubAction #1569
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c96ef15
first implementation of githubaction for building and test
bam241 c461360
tweaking test running guard
bam241 6307011
no env required ?
bam241 4a43419
adding the mssing
bam241 6871d2f
mkdir /github/home/.local/lib/python3.7/site-packages/
bam241 7a560ed
mkdir -p you stupid !
bam241 0786652
how about now?
bam241 14cf43d
how about now?
bam241 7a8c198
adding ENV
bam241 c684bd2
using and setting HOME
bam241 0ea8ff7
now?
bam241 b60edd3
correct path to cyclus_unit_tezt
bam241 5a088dc
removing duplicate items from circleCI
bam241 3adc982
Adding news
bam241 1c3055d
rebasing and move the changelog entry into the coninuous changelog
bam241 File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Standard Build and Test | ||
|
||
on: | ||
# allows us to run workflows manually | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '.github/workflows/docker_publish.yml' | ||
|
||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '.github/workflows/docker_publish.yml' | ||
|
||
|
||
jobs: | ||
BuildTest: | ||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: cyclus/cyclus-deps | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: setup | ||
run: | | ||
echo "HOME=/github/home/" >> $GITHUB_ENV | ||
echo "PATH=$PATH:${HOME}/.local/bin" >> $GITHUB_ENV | ||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${HOME}/.local/lib" >> $GITHUB_ENV | ||
- name: Building Cyclus | ||
run: | | ||
mkdir -p ${HOME}/.local/lib/python3.7/site-packages/ | ||
cd ${GITHUB_WORKSPACE} | ||
python install.py -j 2 \ | ||
--build-type=Release --core-version 999999.999999 \ | ||
-DBLAS_LIBRARIES="/opt/conda/lib/libblas.so" \ | ||
-DLAPACK_LIBRARIES="/opt/conda/lib/liblapack.so" | ||
|
||
- name: Unit Test | ||
run: | | ||
cyclus_unit_tests; exit $? | ||
|
||
- name: Nosetest | ||
run: | | ||
nosetests -w ${GITHUB_WORKSPACE}/tests; exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I haven't noticed this before, but what is
core-version
and is this the right one?