aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml83+0 −83
1 files changed, 0 insertions, 83 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,83 +0,0 @@
-# SPDX-FileCopyrightText: 2026 Nikolay Govorov
-# SPDX-License-Identifier: Apache-2.0
-
-name: Build
-
-on:
- push:
- branches: [main]
- tags: ["v*"]
- pull_request:
- branches: [main]
-
-permissions:
- contents: read
-
-concurrency:
- group: hule-build-${{ github.ref }}
- cancel-in-progress: true
-
-env:
- CARGO_TERM_COLOR: always
- RELEASE_TAG: nightly
-
-jobs:
- lint:
- name: Static checks
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
-
- - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3
- with:
- version: 2026.7.5
- experimental: true
- install: false
- - name: Install dependencies
- run: mise bootstrap --locked --yes --update
- - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
-
- - name: formatting
- run: cargo fmt --all --check
-
- - name: shellcheck
- run: shellcheck images/*/genimg
-
- - name: clippy
- run: cargo clippy --workspace --all-targets --all-features --release --locked -- -D warnings
-
- build:
- name: Build (${{ matrix.arch }})
- runs-on: ${{ matrix.runner }}
- needs: [lint]
- strategy:
- fail-fast: false
- matrix:
- include:
- - runner: ubuntu-24.04
- arch: amd64
- - runner: ubuntu-24.04-arm
- arch: arm64
- steps:
- - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
-
- - uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3
- with:
- version: 2026.7.5
- experimental: true
- install: false
- - name: Install dependencies
- run: mise bootstrap --locked --yes
- - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
-
- - name: Build
- run: cargo build --workspace --all-features --release --locked
-
- - name: Run tests
- run: cargo test --workspace --all-features --release --locked
-
- - name: Upload binary
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- with:
- name: hule-${{ matrix.arch }}
- path: target/release/hule