diff options
| author | ruki <[email protected]> | 2023-02-09 11:43:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-09 11:43:13 +0800 |
| commit | 46ff8270bcb6bf87c7f68b1baf5f9404b71cc314 (patch) | |
| tree | 26ee6281df473f5eb2dcfed40844a94361d6c3ea | |
| parent | 338e3f192a89658bf559cfa9b9569c557db94bd1 (diff) | |
fix ci
| -rw-r--r-- | .github/workflows/windows.yml | 6 | ||||
| -rw-r--r-- | .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) |
