Skip to content

Merge pull request #49 from dluc/fixes #73

Merge pull request #49 from dluc/fixes

Merge pull request #49 from dluc/fixes #73

Workflow file for this run

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: Artifact upload
uses: actions/upload-artifact@v4
with:
name: aicirt-xz
path: target/dist/*.tar.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