Skip to content

Merge pull request #9 from Samueru-sama/main #200

Merge pull request #9 from Samueru-sama/main

Merge pull request #9 from Samueru-sama/main #200

Workflow file for this run

name: Automatic build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.13.0
- name: Install deps
run: |
git submodule update --recursive --init
./resources/install_deps.sh
- name: Build libaisap
run: |
./resources/build_libaisap.sh
- name: Build aisap-cli
run: |
./resources/build.sh
# TODO: Add Zig tests
- name: Test build
run: ./resources/test.sh
- name: Upload build
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "continuous"
prerelease: true
title: "Continuous Build"
files: |
*.AppImage
*.shImg
*.zsync
libaisap*.a
libaisap*.so