try to improve error message when no meson.build #118
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
| # SPDX-FileCopyrightText: Stone Tickle <lattis@mochiro.moe> | |
| # SPDX-License-Identifier: GPL-3.0-only | |
| name: tcc | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '[0-9]+.[0-9]+' | |
| pull_request: | |
| branches: [master] | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| tcc-windows: | |
| runs-on: ${{ matrix.runs-on }} | |
| strategy: | |
| matrix: | |
| include: | |
| - { sys: mingw64, runs-on: 'windows-latest' } | |
| fail-fast: false | |
| name: ${{ matrix.sys }} | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - name: 'Checkout' | |
| uses: actions/checkout@master | |
| - name: 'Setup msys2' | |
| uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: ${{ matrix.sys }} | |
| update: true | |
| install: >- | |
| git | |
| pacboy: >- | |
| toolchain:p | |
| pkgconf:p | |
| curl:p | |
| libarchive:p | |
| - name: 'tcc-bootstrap' | |
| run: | | |
| tools/ci/tcc-bootstrap.sh | |
| - name: 'ci' | |
| run: | | |
| PATH="$PATH:$PWD/tcc/win32" tools/ci/tcc-boot-build-test.sh | |
| tcc-ubuntu-arm: | |
| runs-on: ubuntu-24.04-arm | |
| environment: master | |
| steps: | |
| - uses: actions/checkout@master | |
| with: | |
| fetch-depth: 1 | |
| - name: 'build tcc' | |
| run: | | |
| git clone --depth 1 https://github.com/muon-build/tcc | |
| cd tcc | |
| ./configure --prefix="$HOME/tcc-install" && make -j4 && make install | |
| - name: 'muon ci with tcc' | |
| run: | | |
| export CC="$HOME/tcc-install/bin/tcc" | |
| $CC -vv | |
| ./bootstrap.sh t | |
| ./t/muon-bootstrap -v build -Ddisable-test-languages=cpp,objc t | |
| # -lm needed by test "251 add_project_dependencies" for cos | |
| LDFLAGS=-lm ./t/muon -C t test -v -R -o term | |
| ./t/muon version | |
| tcc-ubuntu-x86_64: | |
| runs-on: ubuntu-latest | |
| environment: master | |
| steps: | |
| - uses: actions/checkout@master | |
| with: | |
| fetch-depth: 1 | |
| - name: 'build tcc' | |
| run: | | |
| git clone --depth 1 https://github.com/muon-build/tcc | |
| cd tcc | |
| ./configure --prefix="$HOME/tcc-install" && make -j4 && make install | |
| - name: 'muon ci with tcc' | |
| run: | | |
| export CC="$HOME/tcc-install/bin/tcc" | |
| $CC -vv | |
| ./bootstrap.sh t | |
| ./t/muon-bootstrap -v build -Ddisable-test-languages=cpp,objc t | |
| # -lm needed by test "251 add_project_dependencies" for cos | |
| LDFLAGS=-lm ./t/muon -C t test -v -R -o term | |
| ./t/muon version |