From 46ff8270bcb6bf87c7f68b1baf5f9404b71cc314 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 9 Feb 2023 11:43:13 +0800 Subject: fix ci --- .github/workflows/windows.yml | 6 ++++-- .github/workflows/windows_luajit.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2fa8bbea9..befc44b39 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,12 +60,14 @@ jobs: - name: Build run: | - xmake f -vD -P core -a ${{ matrix.arch }} + cd core + xmake f -vD -a ${{ matrix.arch }} xmake -vD + cd .. - name: Tests run: | - Copy-Item ./build/xmake.exe ./xmake + Copy-Item ./core/build/xmake.exe ./xmake Copy-Item ./scripts/xrepo.bat ./xmake Copy-Item ./scripts/xrepo.ps1 ./xmake $Env:XMAKE_MAIN_REPO = "https://github.com/xmake-io/xmake-repo.git" diff --git a/.github/workflows/windows_luajit.yml b/.github/workflows/windows_luajit.yml index 7ee173e24..acd4d2f3d 100644 --- a/.github/workflows/windows_luajit.yml +++ b/.github/workflows/windows_luajit.yml @@ -49,12 +49,14 @@ jobs: - name: Build run: | - xmake f -vD -P core -a ${{ matrix.arch }} --runtime=luajit + cd core + xmake f -vD -a ${{ matrix.arch }} --runtime=luajit xmake -vD + cd .. - name: Tests run: | - Copy-Item ./build/xmake.exe ./xmake + Copy-Item ./core/build/xmake.exe ./xmake Copy-Item ./scripts/xrepo.bat ./xmake Copy-Item ./scripts/xrepo.ps1 ./xmake $Env:XMAKE_PROGRAM_DIR = $(Resolve-Path ./xmake) -- cgit v1.3.1