Skip to content

Commit

Permalink
CI: mimic Jenkins layout
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Aug 27, 2024
1 parent 9e32348 commit 84e3918
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
with:
create-symlink: true
key: ${{ matrix.os }}-${{ matrix.build-type }}
- name: set env
- name: set env and prepare dir structure
run: |
sst_deps_user_dir="${GITHUB_WORKSPACE}/../${GITHUB_RUN_ID}_${GITHUB_RUN_NUMBER}_${GITHUB_RUN_ATTEMPT}"
mkdir -p "${sst_deps_user_dir}"
Expand All @@ -92,17 +92,18 @@ jobs:
wget https://github.com/umd-memsys/DRAMSim2/archive/refs/tags/v2.2.2.tar.gz
- name: run bamboo
run: |
export SST_DEPS_USER_MODE=1
ln -sv "${GITHUB_WORKSPACE}" "${SST_DEPS_USER_DIR}/../sqe"
# needed for ncurses part of interactive sst-info
export TERM=dumb
MAKEFLAGS="-j$(nproc)"
export MAKEFLAGS
if [[ "$(uname)" == "Darwin" ]]; then
export PMIX_MCA_gds=hash
fi
export SST_DEPS_USER_MODE=1
mkdir -p "${SST_DEPS_USER_DIR}/devel/trunk"
mv "${GITHUB_WORKSPACE}" "${SST_DEPS_USER_DIR}/devel/sqe"
cd "${SST_DEPS_USER_DIR}/devel/trunk"
"${GITHUB_WORKSPACE}"/buildsys/bamboo.sh ${{ matrix.build-type }} none none none none none
../sqe/buildsys/bamboo.sh ${{ matrix.build-type }} none none none none none
- uses: actions/upload-artifact@v4
with:
name: test-output-${{ matrix.os }}-${{ matrix.build-type }}
Expand Down

0 comments on commit 84e3918

Please sign in to comment.