Skip to content

Commit

Permalink
improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Aug 22, 2024
1 parent 2f58a40 commit c52ab79
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/cosmocc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c52ab79

Please sign in to comment.