Skip to content

chore: Add CI workflow for building and testing update v3 #4

chore: Add CI workflow for building and testing update v3

chore: Add CI workflow for building and testing update v3 #4

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential clang curl libedit-dev
- name: Install Xmake
run: |
curl -fsSL https://xmake.io/shget.text | bash
echo "$HOME/.xmake/bin" >> $GITHUB_PATH
- name: Configure xmake
run: xmake f -c --toolchain=ZennityLang_Toolchain
- name: Build project
run: xmake
- name: Run tests
run: ./build/prompt