Skip to content

Commit

Permalink
chore: Add CI workflow for building and testing update
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarorichard committed Jun 14, 2024
1 parent 3d60dff commit 7592396
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
- name: Install Xmake
run: |
curl -fsSL https://xmake.io/shget.text | bash
echo 'export PATH=$HOME/.xmake/repositories/xmake/repo/packages/x/xmake/xmake/core/xdemo/cli/cli/xmake:$PATH' >> $GITHUB_ENV
echo 'export PATH=$HOME/.local/bin:$PATH' >> $GITHUB_ENV
source $GITHUB_ENV
~/.xmake/bin/xmake --version
- name: Configure xmake
run: ~/.xmake/repositories/xmake/repo/packages/x/xmake/xmake/core/xdemo/cli/cli/xmake f -c --toolchain=ZennityLang_Toolchain
run: xmake f -c --toolchain=ZennityLang_Toolchain

- name: Build project
run: ~/.xmake/repositories/xmake/repo/packages/x/xmake/xmake/core/xdemo/cli/cli/xmake
run: xmake

- name: Run tests
run: ./build/prompt

0 comments on commit 7592396

Please # to comment.