Bump sass from 1.61.0 to 1.69.2 in /warpgate-web #3009
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
Build: | |
strategy: | |
matrix: | |
include: | |
- arch: x86_64-linux | |
target: x86_64-unknown-linux-gnu | |
os: ubuntu-22.04 | |
- arch: arm64-linux | |
target: aarch64-unknown-linux-gnu | |
os: ubuntu-22.04 | |
- arch: x86_64-macos | |
target: x86_64-apple-darwin | |
os: macos-latest | |
- arch: arm64-macos | |
target: aarch64-apple-darwin | |
os: macos-latest | |
fail-fast: false | |
name: Build (${{ matrix.arch }}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- uses: rlespinasse/[email protected] | |
- uses: actions-rs/toolchain@v1 | |
with: | |
target: ${{ matrix.target }} | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: "build" | |
- name: Install just | |
run: | | |
cargo install just | |
- name: Install admin UI deps | |
run: | | |
just yarn --network-timeout 1000000000 | |
- name: Build admin UI | |
run: | | |
just yarn build | |
- name: Build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
use-cross: true | |
args: --all-features --release --target ${{ matrix.target }} | |
env: | |
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "--cfg tokio_unstable" | |
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "--cfg tokio_unstable" | |
CARGO_TARGET_X86_64_APPLE_DARWIN_RUSTFLAGS: "--cfg tokio_unstable" | |
CARGO_TARGET_AARCH64_APPLE_DARWIN_RUSTFLAGS: "--cfg tokio_unstable" | |
# env: | |
# CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-C target-feature=+crt-static --cfg tokio_unstable" | |
# CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS: "-C target-feature=+crt-static --cfg tokio_unstable" | |
# CARGO_TARGET_X86_64_APPLE_DARWIN_RUSTFLAGS: "-C target-feature=+crt-static --cfg tokio_unstable" | |
# CARGO_TARGET_AARCH64_APPLE_DARWIN_RUSTFLAGS: "-C target-feature=+crt-static --cfg tokio_unstable" | |
- name: Upload artifact | |
uses: actions/upload-artifact@master | |
with: | |
name: warpgate-${{ env.GITHUB_REF_SLUG }}-${{ matrix.arch }} | |
path: target/${{ matrix.target }}/release/warpgate | |
- name: Rename artifact | |
run: | | |
mkdir dist | |
mv target/${{ matrix.target }}/release/warpgate dist/warpgate-${{ env.GITHUB_REF_SLUG }}-${{ matrix.arch }} | |
- name: Upload release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/v') | |
with: | |
draft: true | |
generate_release_notes: true | |
files: dist/* | |
token: ${{ secrets.GITHUB_TOKEN }} |