Skip to content

Commit

Permalink
Fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed Jul 14, 2024
1 parent 30572ef commit 73ec8e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

steps:
- name: Deploying windows artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v2
with:
name: win32

Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- name: Build and Run unittests
run: |
rm -rf build && CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Unittests -B build && cmake --build build -j8
rm -rf build && CC=clang CXX=clang++ cmake -DUSE_STATIC_LIBSTDC=ON -DCMAKE_BUILD_TYPE=Unittests -B build && cmake --build build -j8
retVal=0
./build/regamedll/cs 2> /dev/null > result.log || retVal=$?
while read line; do
Expand All @@ -173,7 +173,7 @@ jobs:

- name: Build using Clang C++ Compiler
run: |
rm -rf build && CC=clang CXX=clang++ cmake -B build && cmake --build build -j8
rm -rf build && CC=clang CXX=clang++ cmake -DUSE_STATIC_LIBSTDC=ON -B build && cmake --build build -j8
- name: Prepare CSSDK
run: |
Expand Down
1 change: 0 additions & 1 deletion regamedll/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ target_sources(regamedll PRIVATE
target_link_libraries(regamedll PRIVATE
dl
aelf32

$<$<CONFIG:Unittests>:cppunitlite>
)

Expand Down

0 comments on commit 73ec8e5

Please sign in to comment.