Skip to content

Commit

Permalink
Attempt CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Dec 10, 2024
1 parent 9351176 commit def0105
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 17 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release-tauri-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ jobs:
# Checks out a copy of your repository on the ubuntu-latest machine
- uses: actions/checkout@v2

- name: Install nix
uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nix_path: nixpkgs=channel:nixos-24.05

- name: setup node
uses: actions/setup-node@v1
with:
Expand All @@ -94,11 +100,6 @@ jobs:
if: matrix.args == '--target x86_64-apple-darwin'
run: rustup target add x86_64-apple-darwin

- name: Setup pnpm
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
with:
version: 9.7.0 # Optional: specify a pnpm version

- name: install Go stable
uses: actions/setup-go@v4
with:
Expand All @@ -121,9 +122,14 @@ jobs:
libsoup-3.0 \
webkit2gtk-4.1
- name: Setup pnpm
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
with:
version: 9.7.0 # Optional: specify a pnpm version

- name: Install and prepare
run: |
pnpm install
nix develop .#pnpm --command bash -c "pnpm install"
- name: Download release of the .happ
uses: robinraju/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@

systems = builtins.attrNames inputs.holonix.devShells;
perSystem = { inputs', config, pkgs, system, ... }: {
devShells.pnpm = pkgs.mkShell {
inputsFrom = [ inputs'.tnesh-stack.devShells.synchronized-pnpm ];
};
devShells.default = pkgs.mkShell {
inputsFrom = [
inputs'.p2p-shipyard.devShells.holochainTauriDev
Expand Down
21 changes: 10 additions & 11 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,11 @@
></div>
<div class="parallax__layer parallax__layer--base">
<rocket-content-area>
<h2 class="area-headline">
offline and resilient peer-to-peer chat app<br />
</h2>
<h2 class="area-headline">____ chat<br /></h2>

<rocket-columns style="align-items: center">
<rocket-card style="flex: 1">
<p>
living power is the companion app for the Biolectrical
educational toolkit.
</p>
<p>____ chat is an offline-first peer-to-peer chat app</p>
</rocket-card>
<div class="column" style="margin-bottom: 64px; flex: 1">
<div
Expand All @@ -36,7 +31,6 @@ <h2 class="area-headline">
>
<div style="display: flex; flex-direction: column; gap: 16px">
<download-installer-button
style="flex-basis: 400px"
windows-url="https://github.com/darksoil-studio/messenger-demo/releases/download/v0.0.1/messenger-demo_0.0.1_x64-setup.exe"
todooonix-command="nix run github:darksoil-studio/messenger-demo/v0.0.1"
macos-intel-url="https://github.com/darksoil-studio/messenger-demo/releases/download/v0.0.1/messenger-demo_x64.app.tar.gz"
Expand All @@ -45,16 +39,21 @@ <h2 class="area-headline">
>
</download-installer-button>

<span>or</span>

<sl-button
href="https://github.com/darksoil-studio/messenger-demo/releases/download/v0.0.1/messenger-demo_0.0.1_amd64.AppImage"
variant="primary"
size="large"
style="flex: 1"
>
Download for Android aarch64
</sl-button>

<sl-button
href="https://github.com/darksoil-studio/messenger-demo/releases/download/v0.0.1/messenger-demo_0.0.1_amd64.AppImage"
variant="primary"
size="large"
>
Download Raspberry Pi SD card image
</sl-button>
</div>
</div>
</div>
Expand Down

0 comments on commit def0105

Please sign in to comment.