Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Commit

Permalink
misc: merge rem into re (#184)
Browse files Browse the repository at this point in the history
* merge rem into re

* ci: fix azure

* test

* fedora: try to revert

* ci: revert run-on-arch

* remove test
  • Loading branch information
alfredh authored Feb 16, 2023
1 parent e80e52a commit 155a7c8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 43 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,13 @@ jobs:
repo: https://github.com/baresip/re
secret: ${{ secrets.GITHUB_TOKEN }}

- uses: sreimers/[email protected]
with:
name: rem
repo: https://github.com/baresip/rem
secret: ${{ secrets.GITHUB_TOKEN }}

- name: make re/rem
- name: make re
run: |
for p in re rem; do
for p in re; do
cmake -S $p -B $p/build
cmake --build $p/build -j
done
for p in re rem; do
for p in re; do
mv $p ../.
done
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,14 @@ jobs:
repo: https://github.com/baresip/re
secret: ${{ secrets.GITHUB_TOKEN }}

- uses: sreimers/[email protected]
with:
name: rem
repo: https://github.com/baresip/rem
secret: ${{ secrets.GITHUB_TOKEN }}

- name: make re/rem
- name: make re
shell: bash
run: |
for p in re rem; do
for p in re; do
cmake -S $p -B $p/build
cmake --build $p/build -j
done
for p in re rem; do
for p in re; do
mv $p ../.
done
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ jobs:
${{ matrix.compiler }} - --version
/sbin/ifconfig
- name: make re/rem
- name: make re
run: |
for p in re rem; do
for p in re; do
cmake -S $p -B $p/build
cmake --build $p/build -j
done
for p in re rem; do
for p in re; do
mv $p ../.
done
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run-on-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ jobs:
# Produce a binary artifact and place it in the mounted volume
run: |
for p in re rem; do
for p in re; do
cmake -S $p -B $p/build -DCMAKE_C_FLAGS="-Werror" -DCMAKE_BUILD_TYPE=Debug
cmake --build $p/build -j
done
for p in re rem; do
for p in re; do
mv $p ../.
done
cmake -B build -DCMAKE_C_FLAGS="-Werror" -DCMAKE_BUILD_TYPE=Debug
Expand Down
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
#

find_package(RE REQUIRED)
find_package(REM REQUIRED)

##############################################################################
#
Expand Down Expand Up @@ -62,7 +61,6 @@ endif()
include_directories(
src
${RE_INCLUDE_DIRS}
${REM_INCLUDE_DIRS}
)

find_package(re CONFIG REQUIRED HINTS ../re/cmake)
Expand Down Expand Up @@ -164,7 +162,7 @@ endif()
# Main target object
#

set(LINKLIBS ${REM_LIBRARIES} ${RE_LIBRARIES} ${OPENSSL_LIBRARIES})
set(LINKLIBS ${RE_LIBRARIES} ${OPENSSL_LIBRARIES})
if(WIN32)
list(APPEND LINKLIBS qwave iphlpapi wsock32 ws2_32)
else()
Expand Down
17 changes: 0 additions & 17 deletions cmake/FindREM.cmake

This file was deleted.

0 comments on commit 155a7c8

Please sign in to comment.