diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21ed1fc..872c09a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,15 @@ jobs: - name: Install Xmake run: | curl -fsSL https://xmake.io/shget.text | bash - echo 'export PATH=$HOME/.xmake/repositories/xmake/repo/packages/x/xmake/xmake/core/xdemo/cli/cli/xmake:$PATH' >> $GITHUB_ENV + echo 'export PATH=$HOME/.local/bin:$PATH' >> $GITHUB_ENV + source $GITHUB_ENV + ~/.xmake/bin/xmake --version - name: Configure xmake - run: ~/.xmake/repositories/xmake/repo/packages/x/xmake/xmake/core/xdemo/cli/cli/xmake f -c --toolchain=ZennityLang_Toolchain + run: xmake f -c --toolchain=ZennityLang_Toolchain - name: Build project - run: ~/.xmake/repositories/xmake/repo/packages/x/xmake/xmake/core/xdemo/cli/cli/xmake + run: xmake - name: Run tests run: ./build/prompt