started cleaning step for the mIsHome flags #64
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: macOS Build | |
| on: | |
| push: | |
| paths-ignore: | |
| - '**/*.md' | |
| pull_request: | |
| paths-ignore: | |
| - '**/*.md' | |
| concurrency: | |
| group: ${{ github.workflow}}-${{ github.head_ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| permissions: | |
| actions: write | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - name: Setup XCode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: 15.0.1 | |
| - name: Show current version of Xcode | |
| run: xcodebuild -version | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Setup Homebrew | |
| id: set-up-homebrew | |
| uses: Homebrew/actions/setup-homebrew@main | |
| - name: Show OpenSSL version | |
| run: pkg-config --cflags libcrypto | |
| - name: Install Packages | |
| run: brew install openssl | |
| miniupnpc | |
| rapidjson | |
| sqlcipher | |
| bzip2 | |
| zlib | |
| botan@2 | |
| libxslt | |
| libxml2 | |
| qt | |
| - name: Checkout submodules | |
| run: | | |
| env | |
| git submodule update --init --remote libbitdht/ libretroshare/ retroshare-webui/ | |
| git submodule update --init supportlibs/librnp supportlibs/rapidjson supportlibs/restbed openpgpsdk/ | |
| - name: CI-Build | |
| run: | | |
| qmake6 . -r "CONFIG+=rs_macos14.0" "CONFIG+=release" "CONFIG+=rs_autologin" "CONFIG+=no_rs_sam3" "CONFIG+=no_rs_sam3_libsam3" "CONFIG+=rs_no_rnplib" \ | |
| INCLUDEPATH+="/opt/homebrew/opt/openssl@3/include" \ | |
| INCLUDEPATH+="/opt/homebrew/opt/rapidjson/include" \ | |
| INCLUDEPATH+="/opt/homebrew/opt/sqlcipher/include" \ | |
| INCLUDEPATH+="/opt/homebrew/opt/miniupnpc/include" \ | |
| INCLUDEPATH+="/opt/homebrew/opt/libxslt/include" \ | |
| INCLUDEPATH+="/opt/homebrew/opt/libxml2/include" \ | |
| QMAKE_LIBDIR+="/opt/homebrew/opt/openssl@3/lib" \ | |
| QMAKE_LIBDIR+="/opt/homebrew/opt/rapidjson/lib" \ | |
| QMAKE_LIBDIR+="/opt/homebrew/opt/sqlcipher/lib" \ | |
| QMAKE_LIBDIR+="/opt/homebrew/opt/miniupnpc/lib" \ | |
| QMAKE_LIBDIR+="/opt/homebrew/opt/libxslt/lib" \ | |
| QMAKE_LIBDIR+="/opt/homebrew/opt/libxml2/lib" \ | |
| CONFIG+=no_retroshare_service \ | |
| CONFIG+=no_retroshare_friendserver | |
| make |