ci
This commit is contained in:
@@ -22,35 +22,14 @@ jobs:
|
||||
needs: format
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: jaypoch/lumabuilder:latest
|
||||
image: jaypoch/luma-markdown-builder:latest
|
||||
env:
|
||||
PATH: /root/.cargo/bin:/usr/local/bin:/usr/bin:/bin
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install native packaging tools
|
||||
run: |
|
||||
set -eu
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
if ! command -v rustup >/dev/null 2>&1; then
|
||||
curl --fail --silent --show-error https://sh.rustup.rs \
|
||||
| sh -s -- -y --profile minimal
|
||||
fi
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
rustup default stable
|
||||
|
||||
if ! command -v zig >/dev/null 2>&1; then
|
||||
curl --fail --silent --show-error --location \
|
||||
https://ziglang.org/download/0.16.0/zig-x86_64-linux-0.16.0.tar.xz \
|
||||
--output /tmp/zig.tar.xz
|
||||
tar -xJf /tmp/zig.tar.xz -C /tmp
|
||||
ln -s /tmp/zig-x86_64-linux-0.16.0/zig "$HOME/.cargo/bin/zig"
|
||||
fi
|
||||
|
||||
cargo install --locked queso
|
||||
cargo install cargo-zigbuild
|
||||
|
||||
- name: Build x86_64 and ARM64 binaries
|
||||
run: ./scripts/build-linux-binaries.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user