Compare commits
2 Commits
f859f8f34b
...
148f0743c4
| Author | SHA1 | Date | |
|---|---|---|---|
|
148f0743c4
|
|||
|
20b6fe6cc9
|
@@ -10,7 +10,7 @@ env:
|
||||
jobs:
|
||||
build_and_test:
|
||||
name: Rust project - latest
|
||||
runs-on: rustup-all
|
||||
runs-on: rustup-all-musl
|
||||
strategy:
|
||||
matrix:
|
||||
toolchain:
|
||||
@@ -22,3 +22,4 @@ jobs:
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- run: cargo build --verbose
|
||||
- run: cargo test --verbose
|
||||
- run: cargo build --release --target=x86_64-unknown-linux-musl
|
||||
|
||||
@@ -3,6 +3,7 @@ WORKDIR /
|
||||
|
||||
COPY ./target/x86_64-unknown-linux-musl/release/gpodder-rs /gpodder-rs
|
||||
COPY ./Rocket.toml /Rocket.toml
|
||||
COPY ./templates /templates
|
||||
|
||||
VOLUME ["/data/"]
|
||||
CMD ["/gpodder-rs"]
|
||||
|
||||
Reference in New Issue
Block a user