-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): update actions to not build and test with embed, add a spe…
…cific build for embed testing
- Loading branch information
Showing
3 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM php:8.2-bullseye | ||
|
||
WORKDIR /tmp | ||
|
||
RUN apt update -y && apt upgrade -y | ||
RUN apt install lsb-release wget gnupg software-properties-common -y | ||
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" | ||
|
||
ENV RUSTUP_HOME=/rust | ||
ENV CARGO_HOME=/cargo | ||
ENV PATH=/cargo/bin:/rust/bin:$PATH | ||
|
||
RUN (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly --no-modify-path) && rustup default nightly | ||
|
||
ENTRYPOINT [ "/cargo/bin/cargo", "test", "--lib", "--release", "--all-features" ] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: 'PHP Embed and Rust' | ||
description: 'Builds the crate after installing the latest PHP with php embed and stable Rust.' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' |
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