summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorhar7an <99636919+har7an@users.noreply.github.com>2023-03-06 18:16:21 +0000
committerGitHub <noreply@github.com>2023-03-06 18:16:21 +0000
commit46b9bc755e419236cea2b592c834782c90c76915 (patch)
tree9cfc83a3aea680aa833089e9e427f9a8e47fdaf5 /.github/workflows
parent364f0e7c44921c23eef69c0f2d5fa4ff31aeb336 (diff)
Feature: simulate publishing (#2194)
* xtask: Add arguments to `publish` that allow specifying a custom git remote to push to and a custom cargo registry to publish packages to. * xtask/publish: Don't release `xtask` subcrate because it's not meant to be released at all. * xtask/publish: Add status messages to publish so we see what crate is currently being published, too. * xtask/publish: Disable default features on `zellij` because otherwise it tries to pick up the debug builds of the plugins, which aren't part of released version of `zellij utils`. * xtask/publish: Fix handling of custom registry * docs: Add `RELEASE.md` which explains how to simulate a zellij release. * xtask: Apply rustfmt * xtask: Remove `wasm-opt` from build steps because recent versions cause havoc in the release process in GitHub pipelines and it's primary goal is to only reduce binary size. Current rust versions seem to produce very compact wasm binaries themselves, though. * .github: Don't install wasm-opt in workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/e2e.yml2
-rw-r--r--.github/workflows/release.yml8
2 files changed, 0 insertions, 10 deletions
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 44fd6d5cb..43f6d4a88 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -36,8 +36,6 @@ jobs:
run: sudo apt-get install -y --no-install-recommends musl-tools
- name: Add musl target
run: rustup target add x86_64-unknown-linux-musl
- - name: Install wasm-opt
- run: sudo apt-get install -y --no-install-recommends binaryen
#run: cargo install --debug cargo-make
- name: Build asset
run: cargo xtask ci e2e --build
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a47054675..315968f62 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -63,14 +63,6 @@ jobs:
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y --no-install-recommends musl-tools
- - name: Install wasm-opt (macos)
- if: runner.os == 'macos'
- run: brew install binaryen
-
- - name: Install wasm-opt (ubuntu)
- if: matrix.os == 'ubuntu-latest'
- run: sudo apt-get install -y --no-install-recommends binaryen
-
# Workaround for <https://github.com/actions/virtual-environments/issues/2557>
- name: Switch Xcode SDK
if: runner.os == 'macos'