replace add-path with GITHUB_ENV (#3447)
This commit is contained in:
parent
3b34b0ce02
commit
3be1d49652
6
.github/workflows/ci-asan.yml
vendored
6
.github/workflows/ci-asan.yml
vendored
|
@ -22,12 +22,8 @@ jobs:
|
||||||
export cpus=$(grep -c ^processor /proc/cpuinfo)
|
export cpus=$(grep -c ^processor /proc/cpuinfo)
|
||||||
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='--enable-asan' cs-in-place 2>&1 | tee logs/build.log
|
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='--enable-asan' cs-in-place 2>&1 | tee logs/build.log
|
||||||
- name: Add new racket to PATH
|
- name: Add new racket to PATH
|
||||||
# This should be:
|
|
||||||
# run: echo "::add-path::${{ github.workspace }}/racket/bin"
|
|
||||||
# but due to a github bug, the variable ${{ github.workspace }} value inside a container is broken
|
|
||||||
# so we hard code the real value
|
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::/__w/racket/racket/racket/bin"
|
echo "${GITHUB_WORKSPACE}/racket/bin" >> $GITHUB_PATH
|
||||||
find /__w/racket/racket/racket/bin -type f
|
find /__w/racket/racket/racket/bin -type f
|
||||||
- name: Racket version
|
- name: Racket version
|
||||||
run: |
|
run: |
|
||||||
|
|
12
.github/workflows/ci-ubsan.yml
vendored
12
.github/workflows/ci-ubsan.yml
vendored
|
@ -21,12 +21,8 @@ jobs:
|
||||||
export cpus=$(grep -c ^processor /proc/cpuinfo)
|
export cpus=$(grep -c ^processor /proc/cpuinfo)
|
||||||
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='CFLAGS="-fno-var-tracking-assignments" --enable-ubsan' RACKETBC_SUFFIX="" bc-in-place 2>&1 | tee logs/build.log
|
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='CFLAGS="-fno-var-tracking-assignments" --enable-ubsan' RACKETBC_SUFFIX="" bc-in-place 2>&1 | tee logs/build.log
|
||||||
- name: Add new racket to PATH
|
- name: Add new racket to PATH
|
||||||
# This should be:
|
|
||||||
# run: echo "::add-path::${{ github.workspace }}/racket/bin"
|
|
||||||
# but due to a github bug, the variable ${{ github.workspace }} value inside a container is broken
|
|
||||||
# so we hard code the real value
|
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::/__w/racket/racket/racket/bin"
|
echo "${GITHUB_WORKSPACE}/racket/bin" >> $GITHUB_PATH
|
||||||
find /__w/racket/racket/racket/bin -type f
|
find /__w/racket/racket/racket/bin -type f
|
||||||
- name: Racket version
|
- name: Racket version
|
||||||
run: |
|
run: |
|
||||||
|
@ -107,12 +103,8 @@ jobs:
|
||||||
export cpus=$(grep -c ^processor /proc/cpuinfo)
|
export cpus=$(grep -c ^processor /proc/cpuinfo)
|
||||||
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='CFLAGS="-fno-var-tracking-assignments" --enable-ubsan' cs-in-place 2>&1 | tee logs/build.log
|
make CPUS="${cpus}" PKGS="racket-test db-test unstable-flonum-lib net-test" CONFIGURE_ARGS_qq='CFLAGS="-fno-var-tracking-assignments" --enable-ubsan' cs-in-place 2>&1 | tee logs/build.log
|
||||||
- name: Add new racket to PATH
|
- name: Add new racket to PATH
|
||||||
# This should be:
|
|
||||||
# run: echo "::add-path::${{ github.workspace }}/racket/bin"
|
|
||||||
# but due to a github bug, the variable ${{ github.workspace }} value inside a container is broken
|
|
||||||
# so we hard code the real value
|
|
||||||
run: |
|
run: |
|
||||||
echo "::add-path::/__w/racket/racket/racket/bin"
|
echo "${GITHUB_WORKSPACE}/racket/bin" >> $GITHUB_PATH
|
||||||
find /__w/racket/racket/racket/bin -type f
|
find /__w/racket/racket/racket/bin -type f
|
||||||
- name: Racket version
|
- name: Racket version
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user