Skip to content

Update pyo3 requirement from 0.22 to 0.23 #442

Update pyo3 requirement from 0.22 to 0.23

Update pyo3 requirement from 0.22 to 0.23 #442

Workflow file for this run

name: ANISE GUI
on:
push:
branches:
- master
tags:
- '*'
pull_request:
workflow_dispatch:
env:
RUST_BACKTRACE: 1
RUST_LOG: info
# Source: https://github.com/emilk/egui/blob/23732be0e5b9a977afb08a2e7cb23c31955abe43/.github/workflows/rust.yml
jobs:
build-linux:
name: Build Linux GUI
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install packages (Linux)
if: runner.os == 'Linux'
uses: rerun-io/cache-apt-pkgs-action@59534850182063abf1b2c11bb3686722a12a8397
with:
packages: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd
version: 1.0
execute_install_scripts: true
- name: Build Linux executable
run: cargo build --release --bin anise-gui --workspace --exclude anise-py
- name: Save executable
uses: actions/upload-artifact@v3
with:
name: anise-gui-linux
path: target/release/anise-gui
if-no-files-found: error
windows:
name: Build Windows GUI
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
- name: Build Windows executable
run: cargo build --release --bin anise-gui --workspace --exclude anise-py
- name: Save executable
uses: actions/upload-artifact@v3
with:
name: anise-gui-windows
path: target\release\anise-gui.exe
if-no-files-found: error