|
# retoor <retoor@molodetz.nl>
|
|
|
|
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y build-essential libssl-dev python3
|
|
|
|
- name: Build
|
|
run: |
|
|
cd projects/make && make -f wren_cli.make config=release_64bit -j$(nproc)
|
|
|
|
- name: Run tests
|
|
run: |
|
|
python3 util/test.py
|
|
|
|
- name: Upload artifact
|
|
uses: christopherhx/gitea-upload-artifact@v4
|
|
with:
|
|
name: wren-cli-linux-release_64bit
|
|
path: bin/wren_cli*
|