ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
6.75k stars 219 forks source link

New release? #1109

Open knedl1k opened 2 weeks ago

knedl1k commented 2 weeks ago

The last stable release was in 2022. I think it's time to release a new version.

moving-hawk commented 2 weeks ago

It was replied in #990.

Aman9das commented 2 weeks ago

A release candidate would be nice then, it'll help find and iron out the bugs

peterjumper commented 1 day ago

just use git actions, edit the file build_and_release.yaml , ask gpt to generate ur os version, try to use development development version

  1. fork it 2 git clone development version 3 edit the yaml
    3.5 git commit and git push 4 use git action to build 5 download and install

There should be easier way to do so, but i just a newbie on programming , hope it can help u.

p.s i tried to install it locally , turn it too difficult to do so , but git action isn't u should try it For ur reference, here is my mac version of yaml

name: Build for macOS ARM

on:
  push:
    branches:
      - development
  pull_request:
    branches:
      - '*'
  workflow_dispatch:
jobs:
  build-mac-arm:
    runs-on: macos-13

    steps:
    - uses: actions/checkout@v4
      with:
        submodules: 'recursive'

    - name: Cache Homebrew packages
      uses: actions/cache@v4
      env:
        cache-name: homebrew
      with:
        path: ~/Library/Caches/Homebrew
        key: ${{ runner.os }}-arm-build-${{ env.cache-name }}-${{ github.sha }}
        restore-keys: |
          ${{ runner.os }}-arm-build-${{ env.cache-name }}-
          ${{ runner.os }}-arm-build-
          ${{ runner.os }}-arm-

    - name: Install dependencies
      run: brew install freeglut mesa harfbuzz 

    - name: Install Qt
      uses: jurplel/install-qt-action@v3
      with:
        version: '6.6.1'
        modules: 'all'
        cache: true

    - name: Build
      working-directory: ${{env.GITHUB_WORKSPACE}}
      run: |
        chmod +x build_mac.sh
        MAKE_PARALLEL=$(sysctl -n hw.logicalcpu) ./build_mac.sh
        mv sioyek-release-mac.zip sioyek-release-mac-arm.zip

    - name: Upload macOS ARM artifact
      uses: actions/upload-artifact@v1
      with:
        name: sioyek-mac-arm-release
        path: sioyek-release-mac-arm.zip

Below is the YAML configuration for your GitHub Actions workflow to build on macOS ARM architecture. This configuration only includes the job build-mac-arm as per your request. Save this as a .yml file within the .github/workflows directory of your repository to activate the workflow. Key Points: Trigger Events: The workflow is configured to run on push events to the main branch, on pull requests to any branch, and can also be manually triggered using the workflow_dispatch event. You can adjust these triggers according to your requirements. MacOS Version: This job runs on macos-14, targeting the macOS ARM architecture.

peterjumper commented 1 day ago

i find out that u can just download other action file actually , u don't even have to build it (unless you are using 13 os version like me) https://github.com/ahrm/sioyek/actions/runs/8681438556 download the bottom file

rmenai commented 9 hours ago

Seems like the windows build did not succeed. The zipped build should be far larger than 3mb.