This commit is contained in:
@@ -16,23 +16,23 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- platform: linux
|
||||
docker_image: rust:latest
|
||||
docker_image: gitea.staspast.click/stas/rust-node-builder:latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
artifact_name: rlogg-linux-x86_64
|
||||
binary_extension: ""
|
||||
setup_cmd: ""
|
||||
- platform: macos
|
||||
docker_image: messense/cargo-zigbuild:latest
|
||||
target: x86_64-apple-darwin
|
||||
artifact_name: rlogg-macos-x86_64
|
||||
binary_extension: ""
|
||||
setup_cmd: ""
|
||||
- platform: windows
|
||||
docker_image: rust:latest
|
||||
target: x86_64-pc-windows-gnu
|
||||
artifact_name: rlogg-windows-x86_64
|
||||
binary_extension: ".exe"
|
||||
setup_cmd: "apt-get update && apt-get install -y mingw-w64"
|
||||
# - platform: macos
|
||||
# docker_image: messense/cargo-zigbuild:latest
|
||||
# target: x86_64-apple-darwin
|
||||
# artifact_name: rlogg-macos-x86_64
|
||||
# binary_extension: ""
|
||||
# setup_cmd: ""
|
||||
# - platform: windows
|
||||
# docker_image: rust:latest
|
||||
# target: x86_64-pc-windows-gnu
|
||||
# artifact_name: rlogg-windows-x86_64
|
||||
# binary_extension: ".exe"
|
||||
# setup_cmd: "apt-get update && apt-get install -y mingw-w64"
|
||||
|
||||
steps:
|
||||
- name: Install Node.js for Actions
|
||||
|
||||
1
docker/build-linux-image.sh
Normal file
1
docker/build-linux-image.sh
Normal file
@@ -0,0 +1 @@
|
||||
docker build -t gitea.staspast.click/stas/rust-node-builder:latest -f linux-build.Dockerfile . && docker push gitea.staspast.click/stas/rust-node-builder:latest
|
||||
4
docker/linux-build.Dockerfile
Normal file
4
docker/linux-build.Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
# If using rust:alpine (NOT recommended for your current issue, but good to know)
|
||||
FROM rust:alpine
|
||||
RUN apk update && \
|
||||
apk add nodejs npm
|
||||
Reference in New Issue
Block a user