diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 09dbcf0..f225bca 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d306fe..ff932d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: | @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1a5997..156cd13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index d1a19f3..5456e1d 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -1,10 +1,10 @@ name: wasm -# on: -# push: -# branches: -# - main -# pull_request: +on: + push: + branches: + - main + pull_request: jobs: build-build: