Skip to content

v0.0.1

v0.0.1 #17

Workflow file for this run

name: Pre-release
on:
pull_request:
branches:
- "main"
types: [opened,labeled,edited,synchronize]
jobs:
test-artifacts:
if: contains(github.event.pull_request.labels.*.name, 'release')
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
# TODO: fix this issue
# https://github.com/cognitive-engineering-lab/repo-quest/actions/runs/10222842981/job/28288152603#step:6:73
# - target: aarch64-unknown-linux-gnu
# os: ubuntu-latest
- target: x86_64-apple-darwin
os: macos-latest
- target: aarch64-apple-darwin
os: macos-latest
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-pc-windows-msvc
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt update -y && sudo apt install -y libgtk-3-dev libjavascriptcoregtk-4.1-dev libsoup-3.0-dev libwebkit2gtk-4.1-dev libxdo-dev
- name: Install Rust toolchain for target
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: ${{ matrix.target }}
- name: Install dioxus-cli
uses: baptiste0928/cargo-install@v3
with:
crate: dioxus-cli
version: ^0.5.6
- name: Build bundle
run: dx bundle --target ${{ matrix.target }}