Skip to content

Add build workflow for testing #1

Add build workflow for testing

Add build workflow for testing #1

name: Generate build

Check failure on line 1 in .github/workflows/generate_builds.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/generate_builds.yml

Invalid workflow file

`jobs` is not a valid event name
on:
workflow_dispatch:
push:
branches:
- "main"
schedule:
- cron: '0 1 * * *'
jobs:
build-and-upload:
name: Build and upload
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- build: linux
os: ubuntu-latest
target: x86_64-unknown-linux-musl
- build: windows-gnu
os: windows-latest
target: x86_64-pc-windows-gnu
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install -r requirements.txt