Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex2772 committed Jan 20, 2025
1 parent cdf0f2f commit 421f248
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,14 @@ jobs:
- name: Install macos dependencies
if: matrix.os == 'macos-latest'
run: brew install ninja

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -G "${{ matrix.os=='windows-latest' && 'Visual Studio 17 2022' || 'Ninja' }}" -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=OFF ${{matrix.additional_cmake_flags}} -DAUI_IGNORE_OPENSSL=TRUE -DAUI_INSTALL_RUNTIME_DEPENDENCIES=TRUE -DTELEGRAM_API_ID=${{ secrets.TELEGRAM_API_ID }} -DTELEGRAM_API_HASH=${{ secrets.TELEGRAM_API_HASH }}

- name: Configure CPack
if: matrix.os == 'windows-latest'
run: cmake -B ${{github.workspace}}/build -DCPACK_GENERATOR=INNOSETUP

- name: Build project
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config RelWithDebInfo
Expand All @@ -79,16 +82,17 @@ jobs:
if: matrix.os == 'ubuntu-latest'
working-directory: ${{github.workspace}}/build/bin
run: ${{github.workspace}}/build/bin/Tests
#
# - name: Pack
# working-directory: ${{github.workspace}}/build
# run: cpack . -CRelWithDebInfo
#
# - name: Upload
# uses: actions/upload-artifact@v4
# with:
# path: ${{github.workspace}}/build/*.tar.gz
# name: ${{ matrix.os }}

- name: Pack
working-directory: ${{github.workspace}}/build
run: cpack . -CRelWithDebInfo

- name: Upload
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
path: ${{github.workspace}}/build/*.exe
name: ${{ matrix.os }}

release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -138,7 +142,7 @@ jobs:
name: ${{ matrix.os }}

- id: getfilename
run: echo "::set-output name=file::$(ls *.tar.gz)"
run: echo "::set-output name=file::$(ls *)"

- name: Upload to Release
id: upload_to_release
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (NOT CLIENT_DEMO)
endif()
endif()

set(AUI_VERSION b35b19fd068046514270a87c4bc05aa35bfdc6b5)
set(AUI_VERSION v7.0.0-rc.11)


# Use AUI.Boot
Expand Down

0 comments on commit 421f248

Please # to comment.