Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Dani Rodríguez <[email protected]>
  • Loading branch information
danirod committed Jul 26, 2024
1 parent 1b917cf commit 13aa1d4
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 8 deletions.
98 changes: 98 additions & 0 deletions .github/workflows/stable.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Copyright 2024 the Cartero authors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# SPDX-License-Identifier: GPL-3.0-or-later

on:
push:
tags:
- 'v*'
name: Stable build
jobs:
flatpak:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-46
options: --privileged
strategy:
matrix:
arch: [x86_64, aarch64]
fail-fast: false
name: "Flatpak (${{ matrix.arch }})"
steps:
- uses: actions/checkout@v4
- name: (ARM) Install Docker
if: ${{ matrix.arch != 'x86_64' }}
run: |
dnf -y install docker
- name: (ARM) Set up QEMU
if: ${{ matrix.arch != 'x86_64' }}
id: qemu
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: es.danirod.Cartero.Devel.flatpak
manifest-path: build-aux/es.danirod.Cartero.json
cache-key: flatpak-builder-${{ github.sha }}
build-bundle: true
arch: ${{ matrix.arch }}
windows:
name: "Windows"
runs-on: windows-latest
defaults:
run:
shell: msys2 {0}
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
install: >-
git
msystem: ucrt64
- uses: actions/checkout@v4
- name: Build Windows version
run: |
export PATH=/c/Users/$USER/.cargo/bin:$PATH
rustup toolchain install stable-gnu
rustup default stable-gnu
build-aux/msys-build.sh stable
- uses: actions/upload-artifact@v4
name: Upload Windows version
with:
name: es.danirod.Cartero-windows-x86_64
path: build/cartero-win32
macos:
strategy:
matrix:
os: [macos-13, macos-14]
name: "macOS (${{ matrix.os }})"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: brew install meson gtk4 gtksourceview5 desktop-file-utils pygobject3 libadwaita adwaita-icon-theme gettext shared-mime-info
- name: Fix PYTHONPATH for blueprint-compiler
run: echo "PYTHONPATH=$(brew --prefix)/lib/python3.12/site-packages:$PYTHONPATH" >> $GITHUB_ENV
- name: Build macOS version
run: build-aux/macos-build.sh stable
- name: Build installer
run: build-aux/macos-installer.sh
- uses: actions/upload-artifact@v4
name: Upload macOS version
with:
name: es.danirod.Cartero-${{ runner.os }}-${{ runner.arch }}
path: build/Cartero-*.dmg
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@ some unwanted artificial intelligence at users.

## Download

**Coming soon to Flathub**. I cannot submit the app until there is a first version.
And I won't release a version until [every task on its milestone][milestone] is cleared.
**[Also check out my kanban][kanban].** Once the first iteration is reached,
more features from the [cool idea, saved for later][later] list will be implemented.
**Coming soon to Flathub**. I am still figuring out how to deploy to Flathub.
Come back later, or download a bundle file.

You can also download a development version.

Expand Down Expand Up @@ -255,11 +253,8 @@ Dani's [dev blog][blog] (in Spanish) of Cartero.
[danirod]: https://github.com/danirod
[fork]: https://github.com/danirod/cartero/fork
[blog]: https://danirod.es/secciones/devlogs/cartero/
[kanban]: https://github.com/users/danirod/projects/9/views/6
[milestone]: https://github.com/danirod/cartero/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.1
[later]: https://github.com/users/danirod/projects/9/views/7
[nightly-flatpak-x86_64]: https://nightly.link/danirod/cartero/workflows/nightly.yaml/trunk/es.danirod.Cartero.Devel-x86_64.zip
[nightly-flatpak-aarch64]: https://nightly.link/danirod/cartero/workflows/nightly.yaml/trunk/es.danirod.Cartero.Devel-aarch64.zip
[nightly-windows-x86_64]: https://nightly.link/danirod/cartero/workflows/nightly.yaml/trunk/es.danirod.Cartero-windows-x86_64.zip
[nightly-macos-sillicon]: https://nightly.link/danirod/cartero/workflows/nightly.yaml/trunk/es.danirod.Cartero-macOS-ARM64.zip
[nightly-macos-intel]: https://nightly.link/danirod/cartero/workflows/nightly.yaml/trunk/es.danirod.Cartero-macOS-X64.zip
[nightly-macos-intel]: https://nightly.link/danirod/cartero/workflows/nightly.yaml/trunk/es.danirod.Cartero-macOS-X64.zip

0 comments on commit 13aa1d4

Please sign in to comment.