summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-22 22:38:31 +0800
committerruki <[email protected]>2024-08-22 22:38:31 +0800
commitc52ab791be3d34dec51d22af00866320c8efe1cc (patch)
tree371e506bf3cd3a9f4dff8a855fbfc5a7e6673833
parent2f58a40660f680e9b54c7d747e962b6c283613ba (diff)
improve ci
-rw-r--r--.github/workflows/cosmocc.yml17
1 files changed, 5 insertions, 12 deletions
diff --git a/.github/workflows/cosmocc.yml b/.github/workflows/cosmocc.yml
index 44ef30eec..8a569448e 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