-
Notifications
You must be signed in to change notification settings - Fork 65
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
Switching from CI to GitHub #752
Merged
Merged
Changes from all commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
15cd55d
removing circle to save resource in CI
bam241 6e0913b
Adding a name
bam241 9bff303
this should do it
bam241 cf0dd0f
This is the Way !
bam241 c70553b
this should be better
bam241 fb53723
we need dagmc :)
bam241 e6ee4e9
better path ?
bam241 bbba0b2
what is in htere?
bam241 35d6cfe
better ?
bam241 34497b9
how about now ?
bam241 5a52088
better ?
bam241 c4d4768
any better ?
bam241 1286880
any better ?
bam241 afdb12a
getting PR number
bam241 2b8d89e
do we have env variable ?
bam241 82f5d12
how about now?
bam241 da9f742
what is in there ?
bam241 c28ce9c
how about now ?
bam241 2cc116f
need with
bam241 2d0884b
how about now?
bam241 179509a
this should do it gpgp
bam241 7c5c025
now about now ?
bam241 935c145
with submodule ?
bam241 c1365d7
any better ?
bam241 5c92ab0
how about now ?
bam241 dde9b5d
how about now ?
bam241 f21f0fa
any beter ?
bam241 a3faecb
waht is in htere ?
bam241 a3928dc
waht is in htere ?
bam241 e7a8d30
waht is in htere ?
bam241 c478527
how about now ?
bam241 9824cb9
how about now ?
bam241 34b97bd
how about now ?
bam241 685e5b8
how about now ?
bam241 af27825
adding tests
bam241 2d16bb1
how about now?
bam241 b877cb6
how about now?
bam241 0e4e7ea
how about now ?
bam241 2a4f03f
adding housekeeping
bam241 2a1b2e4
adding requirement
bam241 6586795
this should be better
bam241 243ead1
how about now?
bam241 097af00
this should do it
bam241 5ab66ea
need new git?
bam241 d917fbe
fixing typo
bam241 8b06f47
adding news
bam241 11511b4
using
bam241 f644a87
renaming circleci folder into script
bam241 326ea90
Apply suggestions from code review
bam241 b580ca3
git now comes in its latest version
bam241 ce53fd4
need ghcr.io img for build and test
bam241 493b88e
removing circle to save resource in CI
bam241 2382706
Adding a name
bam241 14c5c39
this should do it
bam241 5c85248
This is the Way !
bam241 5552133
this should be better
bam241 2328ade
we need dagmc :)
bam241 98cb2a1
better path ?
bam241 12e944d
what is in htere?
bam241 fb2b0ea
better ?
bam241 f798c4e
how about now ?
bam241 af0a59f
better ?
bam241 21f648f
any better ?
bam241 fc03126
any better ?
bam241 bbcd616
getting PR number
bam241 80ef8d9
do we have env variable ?
bam241 0163b1d
how about now?
bam241 d1b6b32
what is in there ?
bam241 bc5e803
how about now ?
bam241 cd9f440
need with
bam241 aaa9a2f
how about now?
bam241 4b0bfa8
this should do it gpgp
bam241 81c21b4
now about now ?
bam241 9f0b5e2
with submodule ?
bam241 5263c12
any better ?
bam241 85b076a
how about now ?
bam241 c5722cd
how about now ?
bam241 5f0076f
any beter ?
bam241 41a1aab
waht is in htere ?
bam241 a1b80c2
waht is in htere ?
bam241 682c3ba
waht is in htere ?
bam241 aa3255d
how about now ?
bam241 2dde276
how about now ?
bam241 305bf8e
how about now ?
bam241 f7e3e7e
how about now ?
bam241 309061f
adding tests
bam241 4853b4a
how about now?
bam241 d563d90
how about now?
bam241 1be50ba
how about now ?
bam241 7cf74e0
adding housekeeping
bam241 1aba4d9
adding requirement
bam241 381cfc4
this should be better
bam241 d1b562a
how about now?
bam241 d2331cf
this should do it
bam241 44fce87
need new git?
bam241 eeb89a3
fixing typo
bam241 a6a9052
adding news
bam241 2d9c6a9
using
bam241 1758cbf
renaming circleci folder into script
bam241 8e55f4e
Apply suggestions from code review
bam241 91eb850
git now comes in its latest version
bam241 ae5a2e4
need ghcr.io img for build and test
bam241 bfae293
needs table
bam241 87d55d7
needs table
bam241 67337e2
Merge remote-tracking branch 'upstream/develop' into ci2GA
bam241 82f4c7d
19.04 and 20.04 no 16.04 for testing
bam241 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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,98 @@ | ||
name: Standard Build and Test | ||
|
||
on: | ||
# allows us to run workflows manually | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- develop | ||
- master | ||
push: | ||
branches: | ||
- develop | ||
- master | ||
|
||
jobs: | ||
Housekeeping: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/svalinn/dagmc-ci-ubuntu-18.04-housekeeping:stable | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup environment | ||
run: | | ||
echo "REPO_SLUG=${GITHUB_REPOSITORY}" >> $GITHUB_ENV | ||
echo "PULL_REQUEST=$(echo $GITHUB_REF | cut -d"/" -f3)" >> $GITHUB_ENV | ||
mkdir /root/build_dir | ||
ln -s $GITHUB_WORKSPACE /root/build_dir/DAGMC | ||
|
||
- name: Housekeeping | ||
run: | | ||
cd $GITHUB_WORKSPACE | ||
CI/scripts/housekeeping.sh | ||
|
||
|
||
BuildTest: | ||
needs: Housekeeping | ||
runs-on: ubuntu-latest | ||
bam241 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
env: | ||
hdf5_versions: ${{ matrix.hdf5_versions }} | ||
hdf5_build_dir: hdf5_build_dir | ||
|
||
strategy: | ||
matrix: | ||
ubuntu_versions : [ | ||
18.04, | ||
20.04, | ||
] | ||
compiler : [ | ||
gcc, | ||
clang, | ||
] | ||
hdf5_versions : [ | ||
1.10.4, | ||
] | ||
moab_versions : [ | ||
9c96d17, | ||
develop, | ||
master, | ||
] | ||
isPR: | ||
- ${{ contains(github.event_name, 'pull_request') }} | ||
exclude: | ||
- isPR: true | ||
moab_versions: develop | ||
- isPR: true | ||
moab_versions: master | ||
|
||
container: | ||
image: ghcr.io/svalinn/dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }}-${{ matrix.compiler }}-ext-hdf5_${{ matrix.hdf5_versions }}-moab_${{ matrix.moab_versions }}:stable | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Setup | ||
run: | | ||
echo "MOAB_VERSION=${{ matrix.moab_versions }}" >> $GITHUB_ENV | ||
echo "COMPILER=${{ matrix.compiler }}" >> $GITHUB_ENV | ||
echo "HDF5_VERSION=${{ matrix.hdf5_versions }}" >> $GITHUB_ENV | ||
echo "REPO_SLUG=${GITHUB_REPOSITORY}" >> $GITHUB_ENV | ||
echo "PULL_REQUEST=$(echo $GITHUB_REF | cut -d"/" -f3)" >> $GITHUB_ENV | ||
echo "DOUBLE_DOWN="OFF"" >> $GITHUB_ENV | ||
ln -s $GITHUB_WORKSPACE /root/build_dir/DAGMC | ||
gonuke marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- name: Building DAGMC | ||
run: | | ||
cd $GITHUB_WORKSPACE | ||
CI/scripts/install.sh | ||
|
||
- name: Testing DAGMC | ||
run: | | ||
cd $GITHUB_WORKSPACE | ||
CI/scripts/tests.sh |
File renamed without changes.
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,12 @@ | ||
**Added:** None | ||
|
||
**Changed:** | ||
- Moving CI from CircleCI to GithubAction | ||
|
||
**Deprecated:** None | ||
|
||
**Removed:** None | ||
|
||
**Fixed:** None | ||
|
||
**Security:** None |
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.
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.
We want stable. They are building right now.
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.
Just that latest is also the default. So if you do a docker pull without anything at the end it will grab the latest one as latest is also default.