Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
335b9a9e
Unverified
Commit
335b9a9e
authored
Dec 16, 2021
by
Thien Nguyen
Committed by
GitHub
Dec 16, 2021
Browse files
Merge pull request #507 from eclipse/xacc-devel
Added Build+Test GitHub Actions CI
parents
f72be235
5fba0065
Pipeline
#180939
passed with stage
in 12 minutes and 59 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci-linux.yml
0 → 100644
View file @
335b9a9e
name
:
"
Linux
CI"
on
:
push
:
branches
:
[
master
,
xacc-devel
]
pull_request
:
branches
:
[
master
]
jobs
:
build
:
runs-on
:
ubuntu-latest
name
:
"
Linux
CI"
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Create Build Environment
run
:
cmake -E make_directory build
-
name
:
Install dependencies
run
:
sudo apt-get -y update && sudo apt-get install -y --no-install-recommends ninja-build libssl-dev python3 libpython3-dev python3-pip libblas-dev liblapack-dev
-
name
:
Configure
working-directory
:
build/
run
:
cmake -GNinja $GITHUB_WORKSPACE -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE
-
name
:
Build
working-directory
:
build/
run
:
cmake --build . --target install
-
name
:
Test
working-directory
:
build/
run
:
ctest --output-on-failure
\ No newline at end of file
.github/workflows/ci-mac.yml
0 → 100644
View file @
335b9a9e
name
:
"
macOS
CI"
on
:
push
:
branches
:
[
master
,
xacc-devel
]
pull_request
:
branches
:
[
master
]
jobs
:
build
:
runs-on
:
macos-latest
name
:
"
Mac
CI"
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v2
-
name
:
Setup XCode
uses
:
maxim-lobanov/setup-xcode@v1
with
:
xcode-version
:
latest-stable
-
name
:
Create Build Environment
run
:
cmake -E make_directory build
-
name
:
Install ninja
run
:
brew install ninja
-
name
:
Install dependencies
run
:
brew install python3 openssl curl
-
name
:
Configure
working-directory
:
build/
run
:
export SDKROOT="`xcrun --show-sdk-path`" && cmake -GNinja $GITHUB_WORKSPACE -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE
-
name
:
Build
working-directory
:
build/
run
:
export SDKROOT="`xcrun --show-sdk-path`" && cmake --build . --target install
-
name
:
Test
working-directory
:
build/
run
:
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$HOME/.xacc/lib && ctest --output-on-failure
\ No newline at end of file
README.md
View file @
335b9a9e

| master | xacc-devel |
| Branch | Status |
|:-------|:-------|
|
[

](https://code.ornl.gov/qci/xacc/commits/master) |
[

](https://code.ornl.gov/qci/xacc/commits/xacc-devel) |
|master |
[

](https://github.com/eclipse/xacc/actions/workflows/ci-linux.yml)
[

](https://github.com/eclipse/xacc/actions/workflows/ci-mac.yml) |
|devel |
[

](https://github.com/eclipse/xacc/actions/workflows/ci-linux.yml)
[

](https://github.com/eclipse/xacc/actions/workflows/ci-mac.yml)|
## Language and Hardware Independent Quantum Programming Framework
XACC is an extensible compilation framework for hybrid quantum-classical computing architectures.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment