Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
aa5dc1b24d | |||
fb97f44e61 | |||
b04192bc18 | |||
780e19d7a2 | |||
8fd17ffcc7 | |||
0ba7f6c216 | |||
![]() |
1281743e27 | ||
![]() |
fb098cfd7f | ||
![]() |
21f8a97962 |
18
.gitea/workflows/integration-test.yaml
Normal file
18
.gitea/workflows/integration-test.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Integration test for new action version
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "master" ]
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
it:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: ovlach/docker-gitea:v0.0.2-alpha
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout.git@v4
|
||||||
|
- name: Verify that Docker image can be built
|
||||||
|
run: |
|
||||||
|
docker build .
|
10
Dockerfile
10
Dockerfile
@ -1,18 +1,24 @@
|
|||||||
FROM rust:1.71.0
|
FROM git.nanobyte.cz/nanobyte-public/nano-rust:1.78.81a775c
|
||||||
|
|
||||||
LABEL "com.github.actions.name"="Rust Action Box"
|
LABEL "com.github.actions.name"="Rust Action Box"
|
||||||
LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI based upon Github Actions"
|
LABEL "com.github.actions.description"="'Silverbullet' for a quickstart Rust CI based upon Github Actions"
|
||||||
LABEL "com.github.actions.icon"="play-circle"
|
LABEL "com.github.actions.icon"="play-circle"
|
||||||
LABEL "com.github.actions.color"="gray-dark"
|
LABEL "com.github.actions.color"="gray-dark"
|
||||||
|
|
||||||
|
RUN rustup show
|
||||||
|
RUN rustup uninstall nightly
|
||||||
|
RUN rustup install nightly
|
||||||
|
RUN rustup show
|
||||||
RUN rustup component add clippy-preview
|
RUN rustup component add clippy-preview
|
||||||
RUN rustup component add rustfmt-preview
|
RUN rustup component add rustfmt-preview
|
||||||
|
|
||||||
RUN cargo install cargo-release
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
cmake \
|
cmake \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN cargo --version
|
||||||
|
RUN rustc --version
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
'Silverbullet' for a quickstart Rust CI based upon [Github Actions](https://developer.github.com/actions/)
|
'Silverbullet' for a quickstart Rust CI based upon [Github Actions](https://developer.github.com/actions/)
|
||||||
|
|
||||||
[](https://conventionalcommits.org) [](https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html)
|
[](https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html)
|
||||||
|
|
||||||
*What's inside the "box":*
|
*What's inside the "box":*
|
||||||
|
|
||||||
* Rust 1.71.0
|
* Rust 1.73.0
|
||||||
* Rustfmt
|
* Rustfmt
|
||||||
* Clippy
|
* Clippy
|
||||||
* Cargo Release
|
* Cargo Release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user