Merge pull request #14 from dbidwell94/cicd
Fix build.yml to include a mapping of /home/dbidwell to /tmp
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -29,6 +29,7 @@ jobs:
|
|||||||
docker run --rm \
|
docker run --rm \
|
||||||
-u $(id -u):$(id -g) \
|
-u $(id -u):$(id -g) \
|
||||||
-v "$PWD":/app \
|
-v "$PWD":/app \
|
||||||
|
-e HOME=/tmp \
|
||||||
slang-builder \
|
slang-builder \
|
||||||
cargo test --manifest-path rust_compiler/Cargo.toml --workspace --all-targets
|
cargo test --manifest-path rust_compiler/Cargo.toml --workspace --all-targets
|
||||||
|
|
||||||
@@ -49,9 +50,10 @@ jobs:
|
|||||||
- name: Build Release Artifacts
|
- name: Build Release Artifacts
|
||||||
run: |
|
run: |
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-u $(id -u):$(id -g) \
|
-u $(id -u):$(id -g) \
|
||||||
-v "$PWD":/app \
|
-v "$PWD":/app \
|
||||||
-v "/home/github-runner/permanent-refs":/app/csharp_mod/refs \
|
-v "/home/github-runner/permanent-refs":/app/csharp_mod/refs \
|
||||||
|
-e HOME=/tmp \
|
||||||
slang-builder \
|
slang-builder \
|
||||||
./build.sh
|
./build.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user