Skip to content

Commit

Permalink
WIP. Move to cpp-core.
Browse files Browse the repository at this point in the history
  • Loading branch information
melton1968 committed Sep 23, 2022
1 parent 5a78e2a commit b93f92b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: cd build && cmake ../docs

- name: Build documentation
run: cd build && make cxx_core_mp_docs
run: cd build && make mp_docs

- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@v4
Expand Down

0 comments on commit b93f92b

Please sign in to comment.