Skip to content

Commit

Permalink
Init gitpod.zellij
Browse files Browse the repository at this point in the history
  • Loading branch information
axonasif committed Jul 2, 2023
0 parents commit 2f77093
Show file tree
Hide file tree
Showing 11 changed files with 679 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = "wasm32-wasi"
42 changes: 42 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
# (required) GitHub token for creating GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
build_tool: cross
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: taiki-e/install-action@cross
- uses: taiki-e/upload-rust-binary-action@v1
with:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
# Note that glob pattern is not supported yet.
bin: gitpod_zellij
# (optional) Target triple, default is host triple.
target: ${{ matrix.target }}
# (optional) Tool to build binaries (cargo, or cross)
build_tool: ${{ matrix.build_tool }}
# (required) GitHub token for uploading assets to GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
8 changes: 8 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
image: gitpod/workspace-rust:latest

tasks:
- name: Test plugin
init: cargo build # cache build artifacts using prebuild
command: |
cargo run &
zellij
Loading

0 comments on commit 2f77093

Please sign in to comment.