more text in readme #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AICIrt | |
on: | |
push: | |
branches: [ "main" ] | |
tags: | |
- "v*.*.*" | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup target add wasm32-wasi | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Build aici_abi | |
run: cargo build --verbose --release | |
working-directory: aici_abi | |
- name: Build uppercase | |
run: cargo build --verbose --release | |
working-directory: uppercase | |
- name: Build pyctrl | |
run: cargo build --verbose --release | |
working-directory: pyctrl | |
- name: Build jsctrl | |
run: cargo build --verbose --release | |
working-directory: jsctrl | |
- name: Build declctrl | |
run: cargo build --verbose --release | |
working-directory: declctrl | |
- name: Build aicirt | |
run: cargo build --verbose --release | |
working-directory: aicirt | |
- name: Release script | |
run: ./scripts/release.sh --xz | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
body_path: target/dist/README.md | |
files: | | |
target/dist/*.tar.gz | |
target/dist/*.tar.xz |