This commit is contained in:
@@ -16,23 +16,23 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: linux
|
- platform: linux
|
||||||
docker_image: rust:latest
|
docker_image: gitea.staspast.click/stas/rust-node-builder:latest
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
artifact_name: rlogg-linux-x86_64
|
artifact_name: rlogg-linux-x86_64
|
||||||
binary_extension: ""
|
binary_extension: ""
|
||||||
setup_cmd: ""
|
setup_cmd: ""
|
||||||
- platform: macos
|
# - platform: macos
|
||||||
docker_image: messense/cargo-zigbuild:latest
|
# docker_image: messense/cargo-zigbuild:latest
|
||||||
target: x86_64-apple-darwin
|
# target: x86_64-apple-darwin
|
||||||
artifact_name: rlogg-macos-x86_64
|
# artifact_name: rlogg-macos-x86_64
|
||||||
binary_extension: ""
|
# binary_extension: ""
|
||||||
setup_cmd: ""
|
# setup_cmd: ""
|
||||||
- platform: windows
|
# - platform: windows
|
||||||
docker_image: rust:latest
|
# docker_image: rust:latest
|
||||||
target: x86_64-pc-windows-gnu
|
# target: x86_64-pc-windows-gnu
|
||||||
artifact_name: rlogg-windows-x86_64
|
# artifact_name: rlogg-windows-x86_64
|
||||||
binary_extension: ".exe"
|
# binary_extension: ".exe"
|
||||||
setup_cmd: "apt-get update && apt-get install -y mingw-w64"
|
# setup_cmd: "apt-get update && apt-get install -y mingw-w64"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node.js for Actions
|
- 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