From c52ab791be3d34dec51d22af00866320c8efe1cc Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 22 Aug 2024 22:38:31 +0800 Subject: [PATCH] improve ci --- .github/workflows/cosmocc.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml index 44ef30eec48..8a569448ea9 100644 --- a/.github/workflows/cosmocc.yml +++ b/.github/workflows/cosmocc.yml @@ -37,24 +37,17 @@ jobs: - name: Build run: | cd core - xmake f -p linux --cosmocc=y -y -cvD + xmake f -p linux --cosmocc=y --embed=y -y -cvD xmake -v cd .. - name: Tests run: | - source scripts/srcenv.profile - xmake --version - xmake lua -v -D tests/run.lua - xrepo --version + core/build/xmake --version + core/build/xmake lua -v -D tests/run.lua - name: Artifact - run: | - brew install gnu-tar - cd core - xmake pack -y --autobuild=n --basename=xmake -f zip -o ../artifacts xmake - cd .. - uses: actions/upload-artifact@v2 with: - name: xmake-latest.zip - path: artifacts/xmake.zip + name: xmake + path: core/build/xmake