Skip to content

Commit

Permalink
fixed windows build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ozguronsoy committed Dec 11, 2024
1 parent 2c7df98 commit 03bb0c7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

jobs:
build_gcc:
gcc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
working-directory: ${{github.workspace}}
run: ./hephaudio_test

build_clang:
clang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

jobs:
build_msvc:
msvc:
runs-on: windows-latest

steps:
Expand All @@ -27,6 +27,9 @@ jobs:
-DCMAKE_C_COMPILER=cl
-DCMAKE_CXX_COMPILER=cl
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=${{github.workspace}}
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=${{github.workspace}}
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=${{github.workspace}}
-DENABLE_TESTS=On
-DCMAKE_CXX_FLAGS='-w'
.
Expand Down
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.28)

set(HEPHAUDIO_VERSION_MAJOR 3)
set(HEPHAUDIO_VERSION_MINOR 1)
Expand Down Expand Up @@ -366,9 +366,4 @@ if (ENABLE_TESTS)
gtest_main
)

install(
TARGETS ${HEPHAUDIO_TEST}
DESTINATION ${HEPHAUDIO_BUILD_DIR}
)

endif ()
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ HephAudio is a cross-platform audio library that provides:<br>

### Install Dependencies

- Install [CMake](https://cmake.org/download/) 3.25.0 or higher.<br>
- Install [CMake](https://cmake.org/download/) 3.28.0 or higher.<br>
- Install ALSA development library for **Linux**.<br>
- build FFmpeg and libmysofa for **macOS** and **iOS**.<br>

Expand All @@ -50,7 +50,7 @@ HephAudio is a cross-platform audio library that provides:<br>

An example cmake file:
```
cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.28)
# your project name
project("my_application")
Expand Down Expand Up @@ -135,7 +135,7 @@ endif()
An example cmake file:

```
cmake_minimum_required(VERSION 3.25)
cmake_minimum_required(VERSION 3.28)
# your project name
project("my_application")
Expand Down

0 comments on commit 03bb0c7

Please sign in to comment.