Skip to content

automatic-release

automatic-release #2

name: automatic-release
on:
push:
branches:
- main
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * 6'
jobs:
pre-release:
name: Pre Release
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build 32 bit version
run: cargo build --target i686-pc-windows-msvc --release
- name: Copy MathCAT.pyd file and fix wx file
run: |
cp target/i686-pc-windows-msvc/release/libmathcat_py.dll add
# zip up libmathcat*
- name: Build 64 bit version
run: cargo build --target x86_64-pc-windows-msvc --release
- name: Copy MathCAT.pyd file and fix wx file
run: |
cp target/x86_64-pc-windows-msvc/release/libmathcat_py.dll addon/globalPlugins/MathCAT/libmathcat.pyd
# zip up libmathcat*