Skip to content

Commit

Permalink
fix(ci)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsuu committed Apr 18, 2024
1 parent 2e06389 commit 065b68d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Deploy static content to Pages

# on:
# # Runs on pushes targeting the default branch
# push:
# branches: ["main"]
#
# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,19 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}

- name: Add mingw64 to path for x86_64
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
if: matrix.rust == 'nightly'
shell: bash

- name: Install dependencies
run: |
apt-get update -y
apt-get install -y curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev
- name: Build
shell: bash
run: |
export RUSTFLAGS="-Awarnings"
cargo build --release
- name: Build archive
shell: bash
run: |
Expand All @@ -97,7 +98,6 @@ jobs:
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV
fi
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
Expand All @@ -109,5 +109,4 @@ jobs:
asset_name: ${{ env.ASSET }}
asset_content_type: application/octet-stream


# REFS: https://github.com/BurntSushi/ripgrep/blob/master/.github/workflows/release.yml
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ jobs:
run: echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
if: matrix.rust == 'nightly'
shell: bash
- name: Install dependencies
run: |
apt-get update -y
apt-get install -y curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev
- name: Build and Test
shell: bash
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: wasm

# on:
# push:
# branches:
# - main
# pull_request:
on:
push:
branches:
- main
pull_request:

jobs:
build-build:
Expand Down

0 comments on commit 065b68d

Please sign in to comment.