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

Switching from CI to GitHub #752

Merged
merged 106 commits into from
Jul 20, 2021
Merged
Show file tree
Hide file tree
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 Jul 9, 2021
6e0913b
Adding a name
bam241 Jul 9, 2021
9bff303
this should do it
bam241 Jul 9, 2021
cf0dd0f
This is the Way !
bam241 Jul 9, 2021
c70553b
this should be better
bam241 Jul 9, 2021
fb53723
we need dagmc :)
bam241 Jul 9, 2021
e6ee4e9
better path ?
bam241 Jul 9, 2021
bbba0b2
what is in htere?
bam241 Jul 9, 2021
35d6cfe
better ?
bam241 Jul 9, 2021
34497b9
how about now ?
bam241 Jul 9, 2021
5a52088
better ?
bam241 Jul 9, 2021
c4d4768
any better ?
bam241 Jul 9, 2021
1286880
any better ?
bam241 Jul 9, 2021
afdb12a
getting PR number
bam241 Jul 9, 2021
2b8d89e
do we have env variable ?
bam241 Jul 9, 2021
82f5d12
how about now?
bam241 Jul 9, 2021
da9f742
what is in there ?
bam241 Jul 9, 2021
c28ce9c
how about now ?
bam241 Jul 9, 2021
2cc116f
need with
bam241 Jul 9, 2021
2d0884b
how about now?
bam241 Jul 9, 2021
179509a
this should do it gpgp
bam241 Jul 9, 2021
7c5c025
now about now ?
bam241 Jul 9, 2021
935c145
with submodule ?
bam241 Jul 9, 2021
c1365d7
any better ?
bam241 Jul 9, 2021
5c92ab0
how about now ?
bam241 Jul 9, 2021
dde9b5d
how about now ?
bam241 Jul 9, 2021
f21f0fa
any beter ?
bam241 Jul 9, 2021
a3faecb
waht is in htere ?
bam241 Jul 9, 2021
a3928dc
waht is in htere ?
bam241 Jul 9, 2021
e7a8d30
waht is in htere ?
bam241 Jul 9, 2021
c478527
how about now ?
bam241 Jul 9, 2021
9824cb9
how about now ?
bam241 Jul 9, 2021
34b97bd
how about now ?
bam241 Jul 9, 2021
685e5b8
how about now ?
bam241 Jul 9, 2021
af27825
adding tests
bam241 Jul 9, 2021
2d16bb1
how about now?
bam241 Jul 9, 2021
b877cb6
how about now?
bam241 Jul 9, 2021
0e4e7ea
how about now ?
bam241 Jul 9, 2021
2a4f03f
adding housekeeping
bam241 Jul 9, 2021
2a1b2e4
adding requirement
bam241 Jul 9, 2021
6586795
this should be better
bam241 Jul 9, 2021
243ead1
how about now?
bam241 Jul 9, 2021
097af00
this should do it
bam241 Jul 9, 2021
5ab66ea
need new git?
bam241 Jul 9, 2021
d917fbe
fixing typo
bam241 Jul 9, 2021
8b06f47
adding news
bam241 Jul 9, 2021
11511b4
using
bam241 Jul 12, 2021
f644a87
renaming circleci folder into script
bam241 Jul 12, 2021
326ea90
Apply suggestions from code review
bam241 Jul 12, 2021
b580ca3
git now comes in its latest version
bam241 Jul 19, 2021
ce53fd4
need ghcr.io img for build and test
bam241 Jul 19, 2021
493b88e
removing circle to save resource in CI
bam241 Jul 9, 2021
2382706
Adding a name
bam241 Jul 9, 2021
14c5c39
this should do it
bam241 Jul 9, 2021
5c85248
This is the Way !
bam241 Jul 9, 2021
5552133
this should be better
bam241 Jul 9, 2021
2328ade
we need dagmc :)
bam241 Jul 9, 2021
98cb2a1
better path ?
bam241 Jul 9, 2021
12e944d
what is in htere?
bam241 Jul 9, 2021
fb2b0ea
better ?
bam241 Jul 9, 2021
f798c4e
how about now ?
bam241 Jul 9, 2021
af0a59f
better ?
bam241 Jul 9, 2021
21f648f
any better ?
bam241 Jul 9, 2021
fc03126
any better ?
bam241 Jul 9, 2021
bbcd616
getting PR number
bam241 Jul 9, 2021
80ef8d9
do we have env variable ?
bam241 Jul 9, 2021
0163b1d
how about now?
bam241 Jul 9, 2021
d1b6b32
what is in there ?
bam241 Jul 9, 2021
bc5e803
how about now ?
bam241 Jul 9, 2021
cd9f440
need with
bam241 Jul 9, 2021
aaa9a2f
how about now?
bam241 Jul 9, 2021
4b0bfa8
this should do it gpgp
bam241 Jul 9, 2021
81c21b4
now about now ?
bam241 Jul 9, 2021
9f0b5e2
with submodule ?
bam241 Jul 9, 2021
5263c12
any better ?
bam241 Jul 9, 2021
85b076a
how about now ?
bam241 Jul 9, 2021
c5722cd
how about now ?
bam241 Jul 9, 2021
5f0076f
any beter ?
bam241 Jul 9, 2021
41a1aab
waht is in htere ?
bam241 Jul 9, 2021
a1b80c2
waht is in htere ?
bam241 Jul 9, 2021
682c3ba
waht is in htere ?
bam241 Jul 9, 2021
aa3255d
how about now ?
bam241 Jul 9, 2021
2dde276
how about now ?
bam241 Jul 9, 2021
305bf8e
how about now ?
bam241 Jul 9, 2021
f7e3e7e
how about now ?
bam241 Jul 9, 2021
309061f
adding tests
bam241 Jul 9, 2021
4853b4a
how about now?
bam241 Jul 9, 2021
d563d90
how about now?
bam241 Jul 9, 2021
1be50ba
how about now ?
bam241 Jul 9, 2021
7cf74e0
adding housekeeping
bam241 Jul 9, 2021
1aba4d9
adding requirement
bam241 Jul 9, 2021
381cfc4
this should be better
bam241 Jul 9, 2021
d1b562a
how about now?
bam241 Jul 9, 2021
d2331cf
this should do it
bam241 Jul 9, 2021
44fce87
need new git?
bam241 Jul 9, 2021
eeb89a3
fixing typo
bam241 Jul 9, 2021
a6a9052
adding news
bam241 Jul 9, 2021
2d9c6a9
using
bam241 Jul 12, 2021
1758cbf
renaming circleci folder into script
bam241 Jul 12, 2021
8e55f4e
Apply suggestions from code review
bam241 Jul 12, 2021
91eb850
git now comes in its latest version
bam241 Jul 19, 2021
ae5a2e4
need ghcr.io img for build and test
bam241 Jul 19, 2021
bfae293
needs table
bam241 Jul 19, 2021
87d55d7
needs table
bam241 Jul 19, 2021
67337e2
Merge remote-tracking branch 'upstream/develop' into ci2GA
bam241 Jul 19, 2021
82f4c7d
19.04 and 20.04 no 16.04 for testing
bam241 Jul 19, 2021
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
98 changes: 98 additions & 0 deletions .github/workflows/build_test.yml
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
image: ghcr.io/svalinn/dagmc-ci-ubuntu-18.04-housekeeping:stable
image: ghcr.io/svalinn/dagmc-ci-ubuntu-18.04-housekeeping:latest

Copy link
Member Author

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.

Copy link
Member

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.

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.
12 changes: 12 additions & 0 deletions news/PR-0752.rst
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