-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a78e2a
commit b93f92b
Showing
2 changed files
with
11 additions
and
19 deletions.
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 |
---|---|---|
|
@@ -16,41 +16,33 @@ jobs: | |
- name: Requirements | ||
run: sudo apt-get install -y clang-11 libc++-11-dev libc++abi-11-dev | ||
|
||
- name: SSH Agent | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.CXX_DEPENDS }} | ||
${{ secrets.CXX_CORE_PP }} | ||
${{ secrets.CXX_CORE_MP }} | ||
- name: Checkout cxx-core-mp | ||
- name: Checkout mp | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: melton1968/cxx-core-mp | ||
path: cxx-core-mp | ||
repository: cpp-core/mp | ||
path: mp | ||
|
||
- name: Checkout cxx-depends | ||
- name: Checkout depends | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: melton1968/cxx-depends | ||
repository: cpp-core/depends | ||
ref: main | ||
path: cxx-depends | ||
path: depends | ||
|
||
- name: Build dependencies | ||
run: | | ||
export CC=clang-11 | ||
export CXX=clang++-11 | ||
mkdir -p cxx-depends/build && pushd cxx-depends/build | ||
cmake -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/opt -DCORE_TEST=ON .. | ||
make cxx_core_mp-depends | ||
mkdir -p depends/build && pushd depends/build | ||
cmake -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/opt -DALL_TEST=ON .. | ||
make mp-depends | ||
popd | ||
- name: Build and run the tests | ||
run: | | ||
export CC=clang-11 | ||
export CXX=clang++-11 | ||
mkdir -p cxx-core-mp/build && pushd cxx-core-mp/build | ||
mkdir -p mp/build && pushd mp/build | ||
cmake -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/opt .. | ||
make | ||
make check | ||
|
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