Skip to content

Commit c52ab79

Browse files
committed
improve ci
1 parent 2f58a40 commit c52ab79

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/cosmocc.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -37,24 +37,17 @@ jobs:
3737
- name: Build
3838
run: |
3939
cd core
40-
xmake f -p linux --cosmocc=y -y -cvD
40+
xmake f -p linux --cosmocc=y --embed=y -y -cvD
4141
xmake -v
4242
cd ..
4343
4444
- name: Tests
4545
run: |
46-
source scripts/srcenv.profile
47-
xmake --version
48-
xmake lua -v -D tests/run.lua
49-
xrepo --version
46+
core/build/xmake --version
47+
core/build/xmake lua -v -D tests/run.lua
5048
5149
- name: Artifact
52-
run: |
53-
brew install gnu-tar
54-
cd core
55-
xmake pack -y --autobuild=n --basename=xmake -f zip -o ../artifacts xmake
56-
cd ..
5750
- uses: actions/upload-artifact@v2
5851
with:
59-
name: xmake-latest.zip
60-
path: artifacts/xmake.zip
52+
name: xmake
53+
path: core/build/xmake

0 commit comments

Comments
 (0)