From d0e7a1c3c759086b169ddb50ae10ff74e8b74f84 Mon Sep 17 00:00:00 2001 From: FreskyZ Date: Mon, 30 Sep 2024 22:41:44 +0800 Subject: [PATCH] disable addon for now --- .github/workflows/unit.yml | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index f46f183f..82d967d9 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -1,14 +1,37 @@ name: Unit -on: - push: - branches: - - "master" - pull_request: - branches: - - "master" +# disable for now +# these jobs only run on ubuntu, but seems not only contain linux related features jobs: + ubuntu_makefile_escape: + name: Unix makefile escape + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Setup xmake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: '2.8.6' + + - name: Setup Qt + uses: ConorMacBride/install-package@v1 + with: + apt: libqt5svg5-dev qtbase5-dev qtbase5-dev-tools qttools5-dev-tools + + - name: Build + run: | + xmake f --qt=/usr + xmake b test-escape + + - name: Test + run: | + export QT_ASSUME_STDERR_HAS_CONSOLE=1 + xmake r test-escape + teal_lua_consistency: name: Teal–Lua consistency runs-on: ubuntu-22.04