CFString: pass comparison operands to the collator in order #246
Workflow file for this run
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: Linux Compile and Test | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| tools_make_branch: | |
| description: "tools-make branch" | |
| default: "master" | |
| required: true | |
| libs_base_branch: | |
| description: "libs-base branch" | |
| default: "master" | |
| required: true | |
| env: | |
| APT_PACKAGES: >- | |
| pkg-config | |
| libgnutls28-dev | |
| libffi-dev | |
| libicu-dev | |
| libxml2-dev | |
| libxslt1-dev | |
| libssl-dev | |
| libavahi-client-dev | |
| zlib1g-dev | |
| gnutls-bin | |
| libcurl4-gnutls-dev | |
| libgmp-dev | |
| # packages for libobjc2 / libdispatch | |
| APT_PACKAGES_clang: >- | |
| libpthread-workqueue-dev | |
| jobs: | |
| ########### Linux ########### | |
| linux: | |
| name: ${{ matrix.name }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - name: Ubuntu x64 Clang gnustep-1.9 | |
| library-combo: ng-gnu-gnu | |
| runtime-version: gnustep-1.9 | |
| CC: clang | |
| CXX: clang++ | |
| - name: Ubuntu x64 Clang gnustep-2.0 | |
| library-combo: ng-gnu-gnu | |
| runtime-version: gnustep-2.0 | |
| CC: clang | |
| CXX: clang++ | |
| env: | |
| SRC_PATH: ${{ github.workspace }}/source | |
| DEPS_PATH: ${{ github.workspace }}/dependencies | |
| INSTALL_PATH: ${{ github.workspace }}/build | |
| CC: ${{ matrix.CC }} | |
| CXX: ${{ matrix.CXX }} | |
| LIBRARY_COMBO: ${{ matrix.library-combo }} | |
| RUNTIME_VERSION: ${{ matrix.runtime-version }} | |
| defaults: | |
| run: | |
| working-directory: ${{ env.SRC_PATH }} | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@v3 | |
| with: | |
| path: ${{ env.SRC_PATH }} | |
| - name: Install packages | |
| run: | | |
| sudo apt-get -q -y update | |
| sudo apt-get -q -y install $APT_PACKAGES $APT_PACKAGES_clang | |
| # gnustep-2.0 runtime requires ld.gold or lld | |
| if [ "$RUNTIME_VERSION" = "gnustep-2.0" ]; then | |
| sudo update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.gold" 10 | |
| fi | |
| - name: Install dependencies | |
| env: | |
| TOOLS_MAKE_BRANCH: ${{github.event.inputs.tools_make_branch}} | |
| LIBS_BASE_BRANCH: ${{github.event.inputs.libs_base_branch}} | |
| run: ./.github/scripts/dependencies.sh | |
| - name: Set up GNUstep environment | |
| run: | | |
| test -f "$INSTALL_PATH/share/GNUstep/Makefiles/GNUstep.sh" | |
| echo "BASH_ENV=$RUNNER_TEMP/gnustep-env.sh" >> "$GITHUB_ENV" | |
| echo ". \"$INSTALL_PATH/share/GNUstep/Makefiles/GNUstep.sh\"" > "$RUNNER_TEMP/gnustep-env.sh" | |
| - name: Configure | |
| run: | | |
| ./configure CPPFLAGS="-I$INSTALL_PATH/include" LDFLAGS="-L$INSTALL_PATH/lib" | |
| - name: Build Source | |
| run: | | |
| make | |
| make install | |
| - name: Run Tests | |
| run: ./.github/scripts/run-linux-tests.sh | |
| - name: Upload logs | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: Logs - ${{ matrix.name }} | |
| path: | | |
| ${{ env.SRC_PATH }}/config.log | |
| ${{ env.SRC_PATH }}/Tests/tests.log |