mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-29 02:33:55 +00:00
test: add wraptest
This commit is contained in:
@@ -15,6 +15,20 @@ RUN git checkout tags/$(git describe --tags $(git rev-list --tags --max-count=1)
|
||||
|
||||
RUN RUSTFLAGS='-C link-arg=-s' cargo build --release
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Wraptest
|
||||
#--------------------------------------------------------------------
|
||||
FROM ubuntu:22.04 AS wraptest
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential git
|
||||
|
||||
RUN git clone https://github.com/mattiase/wraptest.git /tmp/wraptest
|
||||
|
||||
WORKDIR /tmp/wraptest
|
||||
|
||||
RUN gcc -o wraptest wraptest.c
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Main Runner
|
||||
#--------------------------------------------------------------------
|
||||
@@ -43,6 +57,7 @@ RUN apt-get install -y \
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY --from=alacritty /tmp/alacritty/target/release/alacritty /usr/bin/alacritty
|
||||
COPY --from=wraptest /tmp/wraptest/wraptest /usr/bin/wraptest
|
||||
|
||||
COPY ./run.sh /entrypoint.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user